{"id":"USN-5821-3","summary":"python-pip regression","details":"USN-5821-1 fixed a vulnerability in wheel and pip. Unfortunately,\nit was missing a commit to fix it properly in pip.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\n\n Sebastian Chnelik discovered that wheel incorrectly handled\n certain file names when validated against a regex expression.\n An attacker could possibly use this issue to cause a\n denial of service.\n","modified":"2026-02-10T04:42:55Z","published":"2023-02-28T14:07:36Z","related":["UBUNTU-CVE-2022-40898"],"upstream":["CVE-2022-40898","UBUNTU-CVE-2022-40898"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5821-3"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-40898"}],"affected":[{"package":{"name":"python-pip","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/python-pip@1.5.4-1ubuntu4+esm3?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.4-1ubuntu4+esm3"}]}],"versions":["1.4.1-2","1.5.4-1","1.5.4-1ubuntu1","1.5.4-1ubuntu3","1.5.4-1ubuntu4","1.5.4-1ubuntu4+esm1","1.5.4-1ubuntu4+esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1.5.4-1ubuntu4+esm3","binary_name":"python-pip"},{"binary_version":"1.5.4-1ubuntu4+esm3","binary_name":"python-pip-whl"},{"binary_version":"1.5.4-1ubuntu4+esm3","binary_name":"python3-pip"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5821-3.json","cves_map":{"ecosystem":"Ubuntu:Pro:14.04:LTS","cves":[{"id":"CVE-2022-40898","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}]}}},{"package":{"name":"python-pip","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/python-pip@8.1.1-2ubuntu0.6+esm4?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.1.1-2ubuntu0.6+esm4"}]}],"versions":["1.5.6-7ubuntu1","1.5.6-7ubuntu2","8.0.2-7","8.0.3-1","8.0.3-2","8.1.0-1","8.1.0-2","8.1.1-1","8.1.1-2","8.1.1-2ubuntu0.1","8.1.1-2ubuntu0.2","8.1.1-2ubuntu0.4","8.1.1-2ubuntu0.6","8.1.1-2ubuntu0.6+esm2","8.1.1-2ubuntu0.6+esm3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"8.1.1-2ubuntu0.6+esm4","binary_name":"python-pip"},{"binary_version":"8.1.1-2ubuntu0.6+esm4","binary_name":"python-pip-whl"},{"binary_version":"8.1.1-2ubuntu0.6+esm4","binary_name":"python3-pip"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5821-3.json","cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2022-40898","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}]}}},{"package":{"name":"python-pip","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-pip@9.0.1-2.3~ubuntu1.18.04.7?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.1-2.3~ubuntu1.18.04.7"}]}],"versions":["9.0.1-2","9.0.1-2.3~ubuntu1","9.0.1-2.3~ubuntu1.18.04.1","9.0.1-2.3~ubuntu1.18.04.2","9.0.1-2.3~ubuntu1.18.04.3","9.0.1-2.3~ubuntu1.18.04.4","9.0.1-2.3~ubuntu1.18.04.5","9.0.1-2.3~ubuntu1.18.04.6"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"9.0.1-2.3~ubuntu1.18.04.7","binary_name":"python-pip"},{"binary_version":"9.0.1-2.3~ubuntu1.18.04.7","binary_name":"python-pip-whl"},{"binary_version":"9.0.1-2.3~ubuntu1.18.04.7","binary_name":"python3-pip"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5821-3.json","cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"id":"CVE-2022-40898","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}]}}},{"package":{"name":"python-pip","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-pip@20.0.2-5ubuntu1.8?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.0.2-5ubuntu1.8"}]}],"versions":["18.1-5","18.1-5build1","18.1-5ubuntu1","20.0.2-2","20.0.2-4","20.0.2-5","20.0.2-5ubuntu1","20.0.2-5ubuntu1.1","20.0.2-5ubuntu1.3","20.0.2-5ubuntu1.4","20.0.2-5ubuntu1.5","20.0.2-5ubuntu1.6","20.0.2-5ubuntu1.7"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"20.0.2-5ubuntu1.8","binary_name":"python-pip-whl"},{"binary_version":"20.0.2-5ubuntu1.8","binary_name":"python3-pip"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5821-3.json","cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"id":"CVE-2022-40898","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}]}}},{"package":{"name":"python-pip","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-pip@22.0.2+dfsg-1ubuntu0.2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.0.2+dfsg-1ubuntu0.2"}]}],"versions":["20.3.4-4","21.3.1+dfsg-3","22.0.2+dfsg-1","22.0.2+dfsg-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"22.0.2+dfsg-1ubuntu0.2","binary_name":"python3-pip"},{"binary_version":"22.0.2+dfsg-1ubuntu0.2","binary_name":"python3-pip-whl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5821-3.json","cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"id":"CVE-2022-40898","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}]}}}],"schema_version":"1.7.3"}