{"answers":{"affected":"3 open source packages ship an affected version, including github.com/pterodactyl/wings.","exploited":"There is no known exploitation of GHSA-6rg3-8h8x-5xfv in the wild and no public exploit code.","fix":"Upgrade github.com/pterodactyl/wings to 1.2.1 or later.","what":"GHSA-6rg3-8h8x-5xfv is a server-side request forgery vulnerability in github.com/pterodactyl/wings, published on 23 Jun 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-6rg3-8h8x-5xfv and fix it if it is affected.\n\nWhat it is: GHSA-6rg3-8h8x-5xfv is a server-side request forgery vulnerability in github.com/pterodactyl/wings, published on 23 Jun 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-6rg3-8h8x-5xfv in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/pterodactyl/wings (Go): affected from 1.2.0; fixed in 1.2.1\n- github.com/pterodactyl/wings (Go): affected from 1.2.0; fixed in 1.2.1\n- github.com/pterodactyl/wings (Go): affected from 1.2.0; fixed in 1.2.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-6rg3-8h8x-5xfv/ (Markdown: https://insights.sbomify.com/GHSA-6rg3-8h8x-5xfv/index.md)","id":"GHSA-6rg3-8h8x-5xfv","markdown":"https://insights.sbomify.com/GHSA-6rg3-8h8x-5xfv/index.md","name":"GHSA-6rg3-8h8x-5xfv","record":{"aliases":["GO-2022-0389"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Wings server software","requires_auth":"low_privilege","summary":"Authenticated users can exploit unchecked hostname resolution to access local network resources via remote file downloads.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\nA newly implemented route allowing users to download files from remote endpoints was not properly verifying the destination hostname for user provided URLs. This would allow malicious users to potentially access resources on local networks that would otherwise be inaccessible.\n\nThis vulnerability requires valid authentication credentials and is therefore **not exploitable by unauthenticated users**. If you are running an instance for yourself or other trusted individuals this impact is unlikely to be of major concern to you. However, you should still upgrade for security sake.\n\n### Patches\nUsers should upgrade to the latest version of Wings.\n\n### Workarounds\nThere is no workaround available that does not involve modifying Panel or Wings code.","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Unchecked hostname resolution could allow access to local network resources by users outside the local network","id":"GHSA-6rg3-8h8x-5xfv","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"ssrf","year":"2021"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"Go","fixed":["1.2.1"],"introduced":["1.2.0"],"last_affected":[],"package":"github.com/pterodactyl/wings","purl":null,"source":"GHSA-6rg3-8h8x-5xfv"},{"ecosystem":"Go","fixed":["1.2.1"],"introduced":["1.2.0"],"last_affected":[],"package":"github.com/pterodactyl/wings","purl":"pkg:golang/github.com/pterodactyl/wings","source":"GHSA-6rg3-8h8x-5xfv"},{"ecosystem":"Go","fixed":["1.2.1"],"introduced":["1.2.0"],"last_affected":[],"package":"github.com/pterodactyl/wings","purl":"pkg:golang/github.com/pterodactyl/wings","source":"GO-2022-0389"}],"products":null,"published":"2021-06-23","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Authenticated users can exploit unchecked hostname resolution to access local network resources via remote file downloads.","url":"https://insights.sbomify.com/GHSA-6rg3-8h8x-5xfv/"}