{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-30130","id":"CVE-2021-30130","title":"Improper Certificate Validation in phpseclib","description":"phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.","descriptionLong":"phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.","published":"2021-04-06T00:00:00.000Z","updated":"2026-10-20T10:54:40.184511316Z","reserved":"2021-04-05T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"phpseclib/phpseclib","purl":"pkg:composer/phpseclib/phpseclib","ranges":[">=3.0.0 <3.0.7","<2.0.31"],"fixed":["3.0.7","2.0.31"],"advisory":"GHSA-vf4w-fg7r-5v94"}],"cwes":["CWE-347","CWE-295"],"aliases":["GHSA-vf4w-fg7r-5v94"],"references":[{"url":"https://github.com/phpseclib/phpseclib/pull/1635","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/phpseclib/phpseclib/releases/tag/3.0.7","tags":["x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/phpseclib/phpseclib/releases/tag/2.0.31","tags":["x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00024.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00025.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30130","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2021-30130.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01055,"epssPercentile":0.65114,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-30130","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30130","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-30130","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vf4w-fg7r-5v94","ok":true,"note":"GHSA-vf4w-fg7r-5v94"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-30130","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}