Integer Coercion Error Affecting java-1.7.0-openjdk-headless package, versions <1:1.7.0.321-2.6.28.2.amzn2.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.39% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-JAVA170OPENJDKHEADLESS-3022724
  • published14 Sept 2022
  • disclosed19 Jul 2022

Introduced: 19 Jul 2022

CVE-2022-34169  (opens in a new tab)
CWE-192  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 java-1.7.0-openjdk-headless to version 1:1.7.0.321-2.6.28.2.amzn2.0.1 or higher.
This issue was patched in ALAS2-2022-1835.

NVD Description

Note: Versions mentioned in the description apply only to the upstream java-1.7.0-openjdk-headless package and not the java-1.7.0-openjdk-headless package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

The Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheets. This can be used to corrupt Java class files generated by the internal XSLTC compiler and execute arbitrary Java bytecode. Users are recommended to update to version 2.7.3 or later. Note: Java runtimes (such as OpenJDK) include repackaged copies of Xalan.

References

CVSS Scores

version 3.1