UBUNTU-CVE-2021-21342

Source
https://ubuntu.com/security/CVE-2021-21342
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-21342.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-21342
Related
Published
2021-03-23T00:15:00Z
Modified
2024-12-06T04:30:48Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in a server-side forgery request. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.

References

Affected packages

Ubuntu:Pro:14.04:LTS / libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/ubuntu/libxstream-java?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.7-1ubuntu0.1+esm2

Affected versions

1.*

1.4.4-1
1.4.7-1
1.4.7-1ubuntu0.1
1.4.7-1ubuntu0.1+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.4.7-1ubuntu0.1+esm2",
            "binary_name": "libxstream-java"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/ubuntu/libxstream-java?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.8-1ubuntu0.1+esm3

Affected versions

1.*

1.4.8-1
1.4.8-1ubuntu0.1
1.4.8-1ubuntu0.1+esm1
1.4.8-1ubuntu0.1+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.4.8-1ubuntu0.1+esm3",
            "binary_name": "libxstream-java"
        }
    ]
}

Ubuntu:18.04:LTS / libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/ubuntu/libxstream-java?arch=src?distro=bionic

Affected ranges

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

Affected versions

1.*

1.4.10-1
1.4.11.1-1~18.04
1.4.11.1-1~18.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.4.11.1-1~18.04.2",
            "binary_name": "libxstream-java"
        }
    ]
}

Ubuntu:20.04:LTS / libxstream-java

Package

Name
libxstream-java
Purl
pkg:deb/ubuntu/libxstream-java?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.11.1-1ubuntu0.2

Affected versions

1.*

1.4.11.1-1
1.4.11.1-1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.4.11.1-1ubuntu0.2",
            "binary_name": "libxstream-java"
        }
    ]
}