{"id":"CVE-2021-30130","aliases":["CVE-2021-30130","GHSA-vf4w-fg7r-5v94"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Certificate Validation in phpseclib","summary":"phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.","source":"cvelist"},{"lang":"es","text":"phpseclib versiones anteriores a 2.0.31 y versiones 3.x anteriores a 3.0.7, maneja inapropiadamente la verificación de firma RSA PKCS#1 v1.5","source":"nvd"}],"published":"2021-04-06T00:00:00.000Z","modified":"2026-09-10T03:49:04.088Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-295","CWE-347"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.0.7"}],"ecosystem":"Packagist","package":"phpseclib/phpseclib","purl":"pkg:composer/phpseclib/phpseclib","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.0.31"}],"ecosystem":"Packagist","package":"phpseclib/phpseclib","purl":"pkg:composer/phpseclib/phpseclib","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.0.31"},{"status":"affected","introduced":"3.0","fixed":"3.0.7"}],"vendor":"phpseclib","product":"phpseclib","cpe":"cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/phpseclib/phpseclib/pull/1635","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/phpseclib/phpseclib/releases/tag/3.0.7","tags":["release-notes","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/phpseclib/phpseclib/releases/tag/2.0.31","tags":["release-notes","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00024.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00025.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30130","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2021-30130.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-30130","url":"https://www.cve.org/CVERecord?id=CVE-2021-30130","licence":"CVE Terms of Use","modified":"2024-08-03T22:24:59.565Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vf4w-fg7r-5v94","url":"https://github.com/advisories/GHSA-vf4w-fg7r-5v94","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:04.088Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-30130","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30130","licence":"Public domain","modified":"2026-06-17T03:49:43.327Z"}],"updatedAt":"2026-11-25T22:58:00.650Z","epss":{"score":0.01055,"percentile":0.65349,"date":"2026-12-01T12:00:22.000Z"}}