# GO-2022-0389 - Unchecked hostname resolution could allow access to local network resources by users outside the local…

Source: https://junglewise.ai/threats/go-2022-0389-unchecked-hostname-resolution-could-allow-access-to-local-9496631a  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-21  
License: CC BY 4.0 with a link back

Severity: info · Published 2024-08-21

Unchecked hostname resolution could allow access to local network resources by users outside the local network in github.com/pterodactyl/wings

Technologies: [github.com/pterodactyl/wings (Go)](https://junglewise.ai/threats/technologies/github-com-pterodactyl-wings). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 21 August 2024.

**Which products and versions are affected?** github.com/pterodactyl/wings (Go) SEMVER:introduced=1.2.0,fixed=1.2.1.

**Is there a fix for This vulnerability?** Yes. github.com/pterodactyl/wings (Go): upgrade to 1.2.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run github.com/pterodactyl/wings (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/pterodactyl/wings (Go): upgrade to 1.2.1 or later

  ```sh
  go get github.com/pterodactyl/wings@v1.2.1
  ```


## Affected products

- github.com/pterodactyl/wings (Go) SEMVER:introduced=1.2.0,fixed=1.2.1

## Related threats

- [Pterodactyl Wings denial of service in SFTP handshake](https://junglewise.ai/threats/cve-2026-52856-pterodactyl-wings-denial-of-service-in-sftp-handshake)
- [Pterodactyl Wings sensitive information disclosure in egg templates](https://junglewise.ai/threats/cve-2026-52855-pterodactyl-wings-sensitive-information-disclosure-in-egg)
- [Pterodactyl Wings memory exhaustion in configuration file parsers](https://junglewise.ai/threats/cve-2026-52857-pterodactyl-wings-memory-exhaustion-in-configuration-file-parsers)
- [Pterodactyl Panel and Wings privilege escalation via JWT scope reuse](https://junglewise.ai/threats/cve-2026-54593-pterodactyl-panel-and-wings-privilege-escalation-via-jwt-scope)
- [GO-2026-5814 - Pterodactyl Wings: Chmod operation can be used to change permissions of files outside of the server…](https://junglewise.ai/threats/go-2026-5814-pterodactyl-wings-chmod-operation-can-be-used-to-change-10b15da7)
