{"id":"UBUNTU-CVE-2021-30130","details":"phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.","modified":"2026-01-30T01:36:02.880708Z","published":"2021-04-06T15:15:00Z","related":["USN-7404-1"],"upstream":["CVE-2021-30130"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-30130"},{"type":"REPORT","url":"https://github.com/phpseclib/phpseclib/pull/1635"},{"type":"REPORT","url":"https://github.com/phpseclib/phpseclib/releases/tag/2.0.31"},{"type":"REPORT","url":"https://github.com/phpseclib/phpseclib/releases/tag/3.0.7"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-30130"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7404-1"}],"affected":[{"package":{"name":"php-phpseclib","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/php-phpseclib@2.0.23-2ubuntu0.1~esm2?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.23-2ubuntu0.1~esm2"}]}],"versions":["2.0.21-2","2.0.23-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"php-phpseclib","binary_version":"2.0.23-2ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30130.json"}},{"package":{"name":"phpseclib","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/phpseclib@1.0.18-2ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.18-2ubuntu0.1~esm1"}]}],"versions":["1.0.16-2","1.0.18-2"],"ecosystem_specific":{"binaries":[{"binary_name":"php-seclib","binary_version":"1.0.18-2ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30130.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}