CVE-2022-41966

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-41966
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-41966.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-41966
Aliases
Related
Published
2022-12-28T00:15:14Z
Modified
2024-10-12T10:12:48.624842Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

XStream serializes Java objects to XML and back again. Versions prior to 1.4.20 may allow a remote attacker to terminate the application with a stack overflow error, resulting in a denial of service only via manipulation the processed input stream. The attack uses the hash code implementation for collections and maps to force recursive hash calculation causing a stack overflow. This issue is patched in version 1.4.20 which handles the stack overflow and raises an InputManipulationException instead. A potential workaround for users who only use HashMap or HashSet and whose XML refers these only as default map or set, is to change the default implementation of java.util.Map and java.util per the code example in the referenced advisory. However, this implies that your application does not care about the implementation of the map and all elements are comparable.

References

Affected packages

Debian:11 / libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/debian/libxstream-java?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.15-3+deb11u2

Affected versions

1.*

1.4.15-3
1.4.15-3+deb11u1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/debian/libxstream-java?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.20-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/debian/libxstream-java?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.20-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/x-stream/xstream

Affected ranges

Type
GIT
Repo
https://github.com/x-stream/xstream
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

XSTREAM_1_4_10
XSTREAM_1_4_11
XSTREAM_1_4_11_1
XSTREAM_1_4_12
XSTREAM_1_4_13
XSTREAM_1_4_14
XSTREAM_1_4_15
XSTREAM_1_4_16
XSTREAM_1_4_17
XSTREAM_1_4_18
XSTREAM_1_4_19
XSTREAM_1_4_5
XSTREAM_1_4_9