{"id":"GHSA-87mp-xc4x-x8rh","aliases":["GHSA-87mp-xc4x-x8rh"],"related":[],"kind":"vulnerability","state":"published","title":"asymmetricrypt/asymmetricrypt Padding Oracle Vulnerability in RSA Encryption","summary":"The encryption and decryption process were vulnerable against the Bleichenbacher's attack, which is a padding oracle vulnerability disclosed in the 98'.\nThe issue was about the wrong padding utilized, which allowed to retrieve the encrypted content.\nThe OPENSSL_PKCS1_PADDING version, aka PKCS v1.5 was vulnerable (is the one set by default when using openssl_* methods), while the PKCS v2.0 isn't anymore (it's also called OAEP).\n\nA fix for this vulnerability was merged at https://github.com/Cosmicist/AsymmetriCrypt/pull/5/commits/a0318cfc5022f2a7715322dba3ff91d475ace7c6.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"The encryption and decryption process were vulnerable against the Bleichenbacher's attack, which is a padding oracle vulnerability disclosed in the 98'.\nThe issue was about the wrong padding utilized, which allowed to retrieve the encrypted content.\nThe OPENSSL_PKCS1_PADDING version, aka PKCS v1.5 was vulnerable (is the one set by default when using openssl_* methods), while the PKCS v2.0 isn't anymore (it's also called OAEP).\n\nA fix for this vulnerability was merged at https://github.com/Cosmicist/AsymmetriCrypt/pull/5/commits/a0318cfc5022f2a7715322dba3ff91d475ace7c6.","format":"markdown","source":"ghsa"}],"published":"2024-05-15T17:47:31.000Z","modified":"2024-11-29T05:32:28.469Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-327"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.3.0"}],"ecosystem":"Packagist","package":"asymmetricrypt/asymmetricrypt","purl":"pkg:composer/asymmetricrypt/asymmetricrypt","source":"ghsa"}],"references":[{"url":"https://github.com/Cosmicist/AsymmetriCrypt/issues/4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Cosmicist/AsymmetriCrypt/pull/5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Cosmicist/AsymmetriCrypt","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/asymmetricrypt/asymmetricrypt/2017-11-20.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-87mp-xc4x-x8rh","url":"https://github.com/advisories/GHSA-87mp-xc4x-x8rh","licence":"CC-BY-4.0","modified":"2024-11-29T05:32:28.469Z"}],"updatedAt":"2026-11-25T22:56:31.572Z"}