USN-4962-1

Source
https://ubuntu.com/security/notices/USN-4962-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4962-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-4962-1
Upstream
Related
Published
2021-05-19T14:00:33Z
Modified
2026-05-20T16:03:07.649889470Z
Summary
python-babel vulnerability
Details

It was discovered that Babel incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code.

References

Affected packages

Ubuntu:Pro:14.04:LTS / python-babel

Package

Name
python-babel
Purl
pkg:deb/ubuntu/python-babel?arch=source&distro=trusty%2Fesm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3+dfsg.1-2ubuntu2+esm1

Affected versions

0.*
0.9.6-1ubuntu1
1.*
1.3-2ubuntu1
1.3+dfsg.1-1
1.3+dfsg.1-1ubuntu1
1.3+dfsg.1-2
1.3+dfsg.1-2ubuntu1
1.3+dfsg.1-2ubuntu2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "python-babel",
            "binary_version": "1.3+dfsg.1-2ubuntu2+esm1"
        },
        {
            "binary_name": "python-babel-localedata",
            "binary_version": "1.3+dfsg.1-2ubuntu2+esm1"
        },
        {
            "binary_name": "python-pybabel",
            "binary_version": "1.3+dfsg.1-2ubuntu2+esm1"
        },
        {
            "binary_name": "python3-babel",
            "binary_version": "1.3+dfsg.1-2ubuntu2+esm1"
        }
    ]
}

Database specific

cves_map
{
    "ecosystem": "Ubuntu:Pro:14.04:LTS",
    "cves": [
        {
            "id": "CVE-2021-20095",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ]
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4962-1.json"

Ubuntu:Pro:16.04:LTS / python-babel

Package

Name
python-babel
Purl
pkg:deb/ubuntu/python-babel?arch=source&distro=esm-apps%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3+dfsg.1-6ubuntu0.1~esm1

Affected versions

1.*
1.3+dfsg.1-6

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python-pybabel",
            "binary_version": "1.3+dfsg.1-6ubuntu0.1~esm1"
        },
        {
            "binary_name": "python-babel-localedata",
            "binary_version": "1.3+dfsg.1-6ubuntu0.1~esm1"
        },
        {
            "binary_name": "python-babel",
            "binary_version": "1.3+dfsg.1-6ubuntu0.1~esm1"
        },
        {
            "binary_name": "python3-babel",
            "binary_version": "1.3+dfsg.1-6ubuntu0.1~esm1"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Database specific

cves_map
{
    "ecosystem": "Ubuntu:Pro:16.04:LTS",
    "cves": []
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4962-1.json"

Ubuntu:18.04:LTS / python-babel

Package

Name
python-babel
Purl
pkg:deb/ubuntu/python-babel?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.0+dfsg.1-2ubuntu1.1

Affected versions

2.*
2.4.0+dfsg.1-2ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python-babel",
            "binary_version": "2.4.0+dfsg.1-2ubuntu1.1"
        },
        {
            "binary_name": "python-babel-localedata",
            "binary_version": "2.4.0+dfsg.1-2ubuntu1.1"
        },
        {
            "binary_name": "python3-babel",
            "binary_version": "2.4.0+dfsg.1-2ubuntu1.1"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map
{
    "ecosystem": "Ubuntu:18.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2021-20095"
        }
    ]
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4962-1.json"

Ubuntu:20.04:LTS / python-babel

Package

Name
python-babel
Purl
pkg:deb/ubuntu/python-babel?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.0+dfsg.1-1ubuntu2.2

Affected versions

2.*
2.6.0+dfsg.1-1
2.6.0+dfsg.1-1ubuntu1
2.6.0+dfsg.1-1ubuntu2
2.6.0+dfsg.1-1ubuntu2.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python-babel",
            "binary_version": "2.6.0+dfsg.1-1ubuntu2.2"
        },
        {
            "binary_name": "python-babel-localedata",
            "binary_version": "2.6.0+dfsg.1-1ubuntu2.2"
        },
        {
            "binary_name": "python3-babel",
            "binary_version": "2.6.0+dfsg.1-1ubuntu2.2"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4962-1.json"
cves_map
{
    "cves": [
        {
            "id": "CVE-2021-20095",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:20.04:LTS"
}