UBUNTU-CVE-2021-21290

Source
https://ubuntu.com/security/CVE-2021-21290
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-21290.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-21290
Related
Published
2021-02-08T20:15:00Z
Modified
2024-10-15T14:08:00Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

Netty is an open-source, asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. In Netty before version 4.1.59.Final there is a vulnerability on Unix-like systems involving an insecure temp file. When netty's multipart decoders are used local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk is enabled. On unix-like systems, the temporary directory is shared between all user. As such, writing to this directory using APIs that do not explicitly set the file/directory permissions can lead to information disclosure. Of note, this does not impact modern MacOS Operating Systems. The method "File.createTempFile" on unix-like systems creates a random file, but, by default will create this file with the permissions "-rw-r--r--". Thus, if sensitive information is written to this file, other local users can read this information. This is the case in netty's "AbstractDiskHttpData" is vulnerable. This has been fixed in version 4.1.59.Final. As a workaround, one may specify your own "java.io.tmpdir" when you start the JVM or use "DefaultHttpDataFactory.setBaseDir(...)" to set the directory to something that is only readable by the current user.

References

Affected packages

Ubuntu:Pro:14.04:LTS / netty

Package

Name
netty
Purl
pkg:deb/ubuntu/netty?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:3.*

1:3.2.6.Final-2
1:3.2.6.Final-2+deb8u2build0.14.04.1~esm1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / netty

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.0.34-1ubuntu0.1~esm1

Affected versions

1:3.*

1:3.2.6.Final-2

1:4.*

1:4.0.32-1
1:4.0.33-1
1:4.0.34-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:4.0.34-1ubuntu0.1~esm1",
            "binary_name": "libnetty-java"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / netty

Package

Name
netty
Purl
pkg:deb/ubuntu/netty?arch=src?distro=esm-apps/bionic

Affected ranges

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

Affected versions

1:4.*

1:4.1.7-4
1:4.1.7-4ubuntu0.1~esm1
1:4.1.7-4ubuntu0.1
1:4.1.7-4ubuntu0.1+esm1

Ecosystem specific

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

Ubuntu:20.04:LTS / netty

Package

Name
netty
Purl
pkg:deb/ubuntu/netty?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.1.33-1
1:4.1.33-2
1:4.1.33-3
1:4.1.45-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:20.04:LTS / netty

Package

Name
netty
Purl
pkg:deb/ubuntu/netty?arch=src?distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.1.45-1ubuntu0.1~esm1

Affected versions

1:4.*

1:4.1.33-1
1:4.1.33-2
1:4.1.33-3
1:4.1.45-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:4.1.45-1ubuntu0.1~esm1",
            "binary_name": "libnetty-java"
        }
    ]
}

Ubuntu:22.04:LTS / netty

Package

Name
netty
Purl
pkg:deb/ubuntu/netty?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.1.48-4+deb11u1build0.22.04.1

Affected versions

1:4.*

1:4.1.48-4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:4.1.48-4+deb11u1build0.22.04.1",
            "binary_name": "libnetty-java"
        }
    ]
}

Ubuntu:24.10 / netty

Package

Name
netty
Purl
pkg:deb/ubuntu/netty?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.1.48-9
1:4.1.48-10

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / netty

Package

Name
netty
Purl
pkg:deb/ubuntu/netty?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:4.*

1:4.1.48-7
1:4.1.48-8
1:4.1.48-9

Ecosystem specific

{
    "ubuntu_priority": "medium"
}