{"id":"USN-4962-1","summary":"python-babel vulnerability","details":"It was discovered that Babel incorrectly handled certain inputs.\nAn attacker could possibly use this issue to execute arbitrary code.\n","modified":"2026-05-20T16:03:07.649889470Z","published":"2021-05-19T14:00:33Z","related":["UBUNTU-CVE-2021-20095"],"upstream":["CVE-2021-20095","UBUNTU-CVE-2021-20095"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4962-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20095"}],"affected":[{"package":{"name":"python-babel","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/python-babel?arch=source&distro=trusty%2Fesm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3+dfsg.1-2ubuntu2+esm1"}]}],"versions":["0.9.6-1ubuntu1","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"}},{"package":{"name":"python-babel","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/python-babel?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3+dfsg.1-6ubuntu0.1~esm1"}]}],"versions":["1.3+dfsg.1-6"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","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"}]},"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"}},{"package":{"name":"python-babel","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-babel?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.0+dfsg.1-2ubuntu1.1"}]}],"versions":["2.4.0+dfsg.1-2ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","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"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:18.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"}},{"package":{"name":"python-babel","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-babel?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.0+dfsg.1-1ubuntu2.2"}]}],"versions":["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":{"availability":"No subscription required","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"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:20.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"}}],"schema_version":"1.7.5"}