{"id":"GHSA-87mp-xc4x-x8rh","aliases":[],"title":"asymmetricrypt/asymmetricrypt Padding Oracle Vulnerability in RSA Encryption","description":"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.","severity":"medium","score":null,"published":"2024-05-15T17:47:31.000Z","modified":"2024-11-29T05:32:28.469Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"asymmetricrypt/asymmetricrypt","ranges":[{"events":[{"introduced":"0"},{"last_affected":"0.3.0"}],"type":"ECOSYSTEM"}],"versions":["0.1.0","0.2.0","0.2.1","0.3.0"],"fixed":[]}],"references":["https://github.com/Cosmicist/AsymmetriCrypt/issues/4","https://github.com/Cosmicist/AsymmetriCrypt/pull/5","https://github.com/Cosmicist/AsymmetriCrypt","https://github.com/FriendsOfPHP/security-advisories/blob/master/asymmetricrypt/asymmetricrypt/2017-11-20.yaml"],"sources":[{"name":"OSV","id":"GHSA-87mp-xc4x-x8rh","modified":"2024-11-29T05:32:28.469089Z","url":"https://osv.dev/vulnerability/GHSA-87mp-xc4x-x8rh"}],"assessments":[]}