{"id":"CVE-2017-12871","published":"2017-09-01T21:00:00Z","modified":"2024-08-05T18:51:06Z","title":"The aesEncrypt method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.x through 1.14.11 makes it easier for…","vendor":null,"product":null,"tier":"tail","description":{"text":"The aesEncrypt method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.x through 1.14.11 makes it easier for context-dependent attackers to bypass the encryption protection mechanism by leveraging use of the first 16 bytes of the secret key as the initialization vector (IV).","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0049,"percentile":0.43056,"provenance":"source"},"cwes":[],"references":[{"url":"https://simplesamlphp.org/security/201703-02","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/simplesamlphp/simplesamlphp/commit/77df6a932d46daa35e364925eb73a175010dc904","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":8.61}]},"affected":[{"ecosystem":"Packagist","package":"simplesamlphp/simplesamlphp","vulnerableRanges":[">=1.14.0, <1.14.12"],"patched":["1.14.12"],"from":["GHSA-ww3w-592j-5qrw"],"provenance":"source"}],"summary":{"text":"The aesEncrypt method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp versions 1.14.x through 1.14.11 uses the first 16 bytes of the secret key as the initialization vector (IV). An attacker who can operate in the relevant context can bypass the encryption protection mechanism because of this fixed, key-derived IV.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:12Z"},"euvd":{"id":"EUVD-2022-5649","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-simplesamlphp-simplesamlphp-cve-2017-12870","children":[{"from":"CVE-2017-12871","to":"CVE-2017-12870","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/simplesamlphp","fromFixed":"1.14.12","toFixed":"1.14.13","daysApart":0},{"kind":"same-code","provenance":"machine","files":["lib/SimpleSAML/Utils/Crypto.php"],"commits":["https://github.com/simplesamlphp/simplesamlphp/commit/4c939be1696bacb2b95ee11d4ebc5814a08b04c5","https://github.com/simplesamlphp/simplesamlphp/commit/77df6a932d46daa35e364925eb73a175010dc904","https://github.com/simplesamlphp/simplesamlphp/commit/ccf75981187aa88f7165abdb1b1965c0934acda0"],"basis":"shared function","functions":["_aesEncrypt"]},{"kind":"similar","provenance":"machine","score":0.49,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2016-3124","published":"2017-02-07","fixed":"1.14.1","kev":false},{"cve":"CVE-2016-9955","published":"2017-02-16","fixed":"1.14.11","kev":false},{"cve":"CVE-2017-12873","published":"2017-09-01","fixed":"1.14.11","kev":false,"link":{"from":"CVE-2017-12873","to":"CVE-2017-12871","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/simplesamlphp","fromFixed":"1.14.11","toFixed":"1.14.12","daysApart":0}]}},{"cve":"CVE-2017-12871","published":"2017-09-01","fixed":"1.14.12","kev":false},{"cve":"CVE-2017-12870","published":"2017-09-01","fixed":"1.14.13","kev":false},{"cve":"CVE-2017-12868","published":"2017-09-01","fixed":"1.14.14","kev":false},{"cve":"CVE-2017-12869","published":"2017-09-01","fixed":"1.14.14","kev":false}],"package":"Packagist:simplesamlphp/simplesamlphp"}}