{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/38798?format=json","vulnerability_id":"VCID-k5d6-k216-8ub8","summary":"Incorrect IV generation for encryption\nThe `aesEncrypt` method in `lib/SimpleSAML/Utils/Crypto` makes it easier for context-dependent attackers to bypass the encryption protection mechanism by leveraging use of the first bytes of the secret key as the initialization vector (IV).","aliases":[{"alias":"CVE-2017-12871"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/54042?format=json","purl":"pkg:composer/simplesamlphp/simplesamlphp@1.14.12","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-dvwj-zd42-nbhe"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.14.12"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/54044?format=json","purl":"pkg:composer/simplesamlphp/simplesamlphp@1.14.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-k5d6-k216-8ub8"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.14.0"},{"url":"http://public2.vulnerablecode.io/api/packages/53290?format=json","purl":"pkg:composer/simplesamlphp/simplesamlphp@1.14.11","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-dgs2-3xbu-c3ff"},{"vulnerability":"VCID-k5d6-k216-8ub8"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.14.11"}],"references":[{"reference_url":"https://simplesamlphp.org/security/201703-02","reference_id":"","reference_type":"","scores":[],"url":"https://simplesamlphp.org/security/201703-02"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12871","reference_id":"CVE-2017-12871","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12871"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":326,"name":"Inadequate Encryption Strength","description":"The product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[],"severity_range_score":null,"exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-k5d6-k216-8ub8"}