{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-29462 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-29462 is a high-severity vulnerability in pupnp, published on 20 Apr 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-29462 and fix it if it is affected.\n\nWhat it is: CVE-2021-29462 is a high-severity vulnerability in pupnp, published on 20 Apr 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-29462 in the wild and no public exploit code.\n\nAffected product: pupnp. No package-level version data is available, so check the vendor advisory linked from the reference page.\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/CVE-2021-29462/ (Markdown: https://insights.sbomify.com/CVE-2021-29462/index.md)","id":"CVE-2021-29462","markdown":"https://insights.sbomify.com/CVE-2021-29462/index.md","name":"CVE-2021-29462","record":{"aliases":["DEBIAN-CVE-2021-29462","GHSA-6hqq-w3jq-9fhg","MGASA-2021-0319","UBUNTU-CVE-2021-29462"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"UPnP SDK library","requires_auth":"low_privilege","summary":"The pupnp library is vulnerable to DNS rebinding attacks due to missing Host header validation, allowing attackers to bypass same-origin policies.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pupnp","vendor":"pupnp_project"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"The Portable SDK for UPnP Devices is an SDK for development of UPnP device and control point applications. The server part of pupnp (libupnp) appears to be vulnerable to DNS rebinding attacks because it does not check the value of the `Host` header. This can be mitigated by using DNS revolvers which block DNS-rebinding attacks. The vulnerability is fixed in version 1.14.6 and later.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"DNS rebinding in pupnp","id":"CVE-2021-29462","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Out-of-bounds read in Exiv2::WebPImage::doWriteMetadata","id":"CVE-2021-29463"},"packages":[],"prev":{"headline":"LFI and possible code execution on discord-recon using tools arguments","id":"CVE-2021-29461"},"products":["pupnp"],"published":"2021-04-20","related":[{"cvss_score":7.5,"headline":"pupnp: NULL pointer dereference in ixmlNode_compare crashes on non-namespaced attributes","id":"CVE-2026-57486","kev_date_added":null,"published":"2026-10-16"},{"cvss_score":7.5,"headline":"libupnp chunked HTTP bodies can bypass g_maxContentLength and be fully buffered","id":"CVE-2026-57487","kev_date_added":null,"published":"2026-10-16"},{"cvss_score":7.5,"headline":"pupnp: Denial of service via blocking DNS resolution in parse_uri()/GENA callback parsing","id":"CVE-2026-77630","kev_date_added":null,"published":"2026-10-16"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2021-28302","kev_date_added":null,"published":"2021-03-12"},{"cvss_score":7.1,"headline":"pupnp: Integer truncation in HTTP Content-Length parsing enables request smuggling","id":"CVE-2026-57488","kev_date_added":null,"published":"2026-10-16"},{"cvss_score":6.5,"headline":"pupnp: Incomplete fix for CVE-2021-28302: recursive DOM functions cause stack overflow","id":"CVE-2026-55862","kev_date_added":null,"published":"2026-10-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["pupnp"]},"summary":"The pupnp library is vulnerable to DNS rebinding attacks due to missing Host header validation, allowing attackers to bypass same-origin policies.","url":"https://insights.sbomify.com/CVE-2021-29462/"}