{"id":"USN-9381-1","summary":"librest vulnerability","details":"It was discovered that librest used a cryptographically insecure pseudo-\nrandom number generator to generate PKCE code verifiers for OAuth 2.0\nauthorization. A remote attacker could possibly use this issue to predict\nthe code verifier and impersonate the client during the OAuth 2.0\nauthorization flow.","modified":"2026-12-03T20:59:17.793166476Z","published":"2026-12-02T04:15:48Z","related":["UBUNTU-CVE-2026-16615"],"upstream":["CVE-2026-16615","UBUNTU-CVE-2026-16615"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9381-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-16615"}],"affected":[{"package":{"name":"librest","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/librest?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.1-6+deb12u1build0.24.04.1"}]}],"versions":["0.9.1-6","0.9.1-6build2","0.9.1-6build3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.1-6+deb12u1build0.24.04.1","binary_name":"gir1.2-rest-1.0"},{"binary_name":"gir1.2-restextras-1.0","binary_version":"0.9.1-6+deb12u1build0.24.04.1"},{"binary_name":"librest-1.0-0","binary_version":"0.9.1-6+deb12u1build0.24.04.1"},{"binary_name":"librest-extras-1.0-0","binary_version":"0.9.1-6+deb12u1build0.24.04.1"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2026-16615","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","source":"CNA","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}],"ecosystem":"Ubuntu:24.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9381-1.json"}},{"package":{"name":"librest","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/librest?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.2-1ubuntu0.26.10.1"}]}],"versions":["0.10.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"gir1.2-rest-1.0","binary_version":"0.10.2-1ubuntu0.26.10.1"},{"binary_name":"gir1.2-restextras-1.0","binary_version":"0.10.2-1ubuntu0.26.10.1"},{"binary_name":"librest-1.0-0","binary_version":"0.10.2-1ubuntu0.26.10.1"},{"binary_version":"0.10.2-1ubuntu0.26.10.1","binary_name":"librest-extras-1.0-0"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9381-1.json","cves_map":{"ecosystem":"Ubuntu:26.10","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","source":"CNA","type":"CVSS_V3"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2026-16615"}]}}},{"package":{"name":"librest","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/librest?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.2-1ubuntu0.26.04.1"}]}],"versions":["0.9.1-6build4","0.10.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.10.2-1ubuntu0.26.04.1","binary_name":"gir1.2-rest-1.0"},{"binary_name":"gir1.2-restextras-1.0","binary_version":"0.10.2-1ubuntu0.26.04.1"},{"binary_name":"librest-1.0-0","binary_version":"0.10.2-1ubuntu0.26.04.1"},{"binary_name":"librest-extras-1.0-0","binary_version":"0.10.2-1ubuntu0.26.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9381-1.json","cves_map":{"ecosystem":"Ubuntu:26.04:LTS","cves":[{"id":"CVE-2026-16615","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","source":"CNA"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}]}}}],"schema_version":"1.9.2"}