CVE-2013-2035
Improper Control of Generation of Code in HawtJNI
Also known as GHSA-49j7-qghp-5wj8
Mitigation
- Upgrade org.fusesource.hawtjni:hawtjni-runtime to 1.8 or later.
Who should check
- Projects that depend on Maven package org.fusesource.hawtjni:hawtjni-runtime (< 1.8)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- org.fusesource.hawtjni:hawtjni-runtime < 1.8
- Fixed in
- 1.8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.4 (v2.0, NVD)AV:L/AC:M/Au:N/C:P/I:P/A:P
Show all 6 CVSS metrics
- Attack vector: Local
- Attack complexity: Medium
- Authentication: None
- Confidentiality impact: Partial
- Integrity impact: Partial
- Availability impact: Partial
- EPSS
- 0.59% chance of exploitation in 30 days (percentile 42, 2026-11-26)
- CWE
- CWE-94
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.fusesource.hawtjni:hawtjni-runtime | < 1.8 | 1.8 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2013-2035. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2013-2035.md Affected: org.fusesource.hawtjni:hawtjni-runtime < 1.8 Fixed in: 1.8 Steps: 1. Search this machine and project for org.fusesource.hawtjni:hawtjni-runtime (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- http://rhn.redhat.com/errata/RHSA-2014-0029.html
- http://rhn.redhat.com/errata/RHSA-2013-1029.html
- http://rhn.redhat.com/errata/RHSA-2015-0034.html
- http://rhn.redhat.com/errata/RHSA-2014-0254.html
- http://rhn.redhat.com/errata/RHSA-2013-1785.html
- http://rhn.redhat.com/errata/RHSA-2013-1784.html
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2013-2035
Other
- http://secunia.com/advisories/53415
- http://www.osvdb.org/93411
- https://github.com/jline/jline2/issues/85
- http://www.securitytracker.com/id/1029431
- 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
FAQ
Is CVE-2013-2035 being exploited?
There is no confirmed exploitation: CVE-2013-2035 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.59% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2013-2035?
Medium: CVSS 4.4 (v2.0, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2013-2035?
org.fusesource.hawtjni:hawtjni-runtime < 1.8.
Is there a fix for CVE-2013-2035?
Yes. Fixed in 1.8. Upgrade org.fusesource.hawtjni:hawtjni-runtime to 1.8 or later.
How do I check if I'm affected by CVE-2013-2035?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.