{"id":"UBUNTU-CVE-2024-34402","details":"An issue was discovered in uriparser through 0.9.7. ComposeQueryEngine in UriQuery.c has an integer overflow via long keys or values, with a resultant buffer overflow.","modified":"2026-04-22T17:52:43.198009Z","published":"2024-05-03T01:15:00Z","related":["USN-7356-1"],"upstream":["CVE-2024-34402"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-34402"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-34402"},{"type":"REPORT","url":"https://github.com/uriparser/uriparser/pull/185"},{"type":"REPORT","url":"https://github.com/uriparser/uriparser/issues/183"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7356-1"}],"affected":[{"package":{"name":"uriparser","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/uriparser@0.7.5-1ubuntu2+esm4?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.5-1ubuntu2+esm4"}]}],"versions":["0.7.5-1","0.7.5-1ubuntu1","0.7.5-1ubuntu2","0.7.5-1ubuntu2+esm1","0.7.5-1ubuntu2+esm2","0.7.5-1ubuntu2+esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.7.5-1ubuntu2+esm4","binary_name":"liburiparser1"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34402.json"}},{"package":{"name":"uriparser","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/uriparser@0.8.4-1ubuntu0.16.04.1~esm4?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.4-1ubuntu0.16.04.1~esm4"}]}],"versions":["0.8.2-1","0.8.3-1","0.8.4-1","0.8.4-1ubuntu0.16.04.1~esm2","0.8.4-1ubuntu0.16.04.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.8.4-1ubuntu0.16.04.1~esm4","binary_name":"liburiparser1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34402.json"}},{"package":{"name":"uriparser","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/uriparser@0.8.4-1+deb9u2ubuntu0.1+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.4-1+deb9u2ubuntu0.1+esm1"}]}],"versions":["0.8.4-1","0.8.4-1ubuntu0.18.04.1~esm2","0.8.4-1+deb9u2build0.18.04.1","0.8.4-1+deb9u2ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.8.4-1+deb9u2ubuntu0.1+esm1","binary_name":"liburiparser1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34402.json"}},{"package":{"name":"uriparser","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/uriparser@0.9.3-2ubuntu0.1~esm3?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.3-2ubuntu0.1~esm3"}]}],"versions":["0.9.3-2","0.9.3-2ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.3-2ubuntu0.1~esm3","binary_name":"liburiparser1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34402.json"}},{"package":{"name":"uriparser","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/uriparser@0.9.6+dfsg-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6+dfsg-1ubuntu0.1~esm1"}]}],"versions":["0.9.4+dfsg-1","0.9.5+dfsg-2","0.9.6+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.6+dfsg-1ubuntu0.1~esm1","binary_name":"liburiparser1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34402.json"}},{"package":{"name":"uriparser","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/uriparser@0.9.7+dfsg-2ubuntu0.1~esm1?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.7+dfsg-2ubuntu0.1~esm1"}]}],"versions":["0.9.7+dfsg-2","0.9.7+dfsg-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.7+dfsg-2ubuntu0.1~esm1","binary_name":"liburiparser1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34402.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]}