{"answers":{"affected":"2 open source packages ship an affected version, including @ensdomains/ens. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-5232 in the wild and no public exploit code.","fix":"Upgrade @ensdomains/ens to 0.4.0 or later.","what":"CVE-2020-5232 is a high-severity vulnerability in @ensdomains/ens, published on 30 Jan 2020. 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-2020-5232 and fix it if it is affected.\n\nWhat it is: CVE-2020-5232 is a high-severity vulnerability in @ensdomains/ens, published on 30 Jan 2020. 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-2020-5232 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @ensdomains/ens (npm): affected all versions; fixed in 0.4.0\n- @ensdomains/ens (npm): affected all versions; fixed in 0.4.0\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-2020-5232/ (Markdown: https://insights.sbomify.com/CVE-2020-5232/index.md)","id":"CVE-2020-5232","markdown":"https://insights.sbomify.com/CVE-2020-5232/index.md","name":"CVE-2020-5232","record":{"aliases":["GHSA-8f9f-pc5v-9r5h"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"ENS registry library","requires_auth":"low_privilege","summary":"ENS domain owners can secretly regain ownership of transferred domains, allowing unauthorized control over name resolution.","user_interaction":"required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ethereum_name_service","vendor":"ens.domains"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"description":"A user who owns an ENS domain can set a trapdoor, allowing them to transfer ownership to another user, and later regain ownership without the new owners consent or awareness. A new ENS deployment is being rolled out that fixes this vulnerability in the ENS registry.","ecosystems":["npm"],"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":"Ethereum Name Service - Malicious takeover of previously owned ENS names","id":"CVE-2020-5232","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"business_logic","year":"2020"},"n_packages":2,"n_references":2,"next":{"headline":"Open Redirect in OAuth2 Proxy","id":"CVE-2020-5233"},"packages":[{"ecosystem":"npm","fixed":["0.4.0"],"introduced":["0"],"last_affected":[],"package":"@ensdomains/ens","purl":null,"source":"GHSA-8f9f-pc5v-9r5h"},{"ecosystem":"npm","fixed":["0.4.0"],"introduced":["0"],"last_affected":[],"package":"@ensdomains/ens","purl":"pkg:npm/%40ensdomains/ens","source":"GHSA-8f9f-pc5v-9r5h"}],"prev":{"headline":"Opencast users with ROLE_COURSE_ADMIN can create new users","id":"CVE-2020-5231"},"products":["@ensdomains/ens"],"published":"2020-01-30","related":[{"cvss_score":4.9,"headline":".eth registrar controller can shorten the duration of registered names","id":"CVE-2023-38698","kev_date_added":null,"published":"2023-08-04"},{"cvss_score":2.7,"headline":"ENS DNSSEC Oracle Vulnerable to RSA Signature Forgery via Missing PKCS#1 v1.5 Padding Validation","id":"CVE-2026-22866","kev_date_added":null,"published":"2026-02-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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-04","vendors":["ensdomains"]},"summary":"ENS domain owners can secretly regain ownership of transferred domains, allowing unauthorized control over name resolution.","url":"https://insights.sbomify.com/CVE-2020-5232/"}