2 lines
4.3 KiB
JSON
2 lines
4.3 KiB
JSON
{"affected":[{"affectedData":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"PAGI-Middleware-Session-Store-Cookie","product":"PAGI::Middleware::Session::Store::Cookie","programFiles":["lib/PAGI/Middleware/Session/Store/Cookie.pm"],"programRoutines":[{"name":"PAGI::Middleware::Session::Store::Cookie::_random_bytes"}],"repo":"https://github.com/jjn1056/PAGI-Middleware-Session-Store-Cookie","vendor":"JJNAPIORK","versions":[{"lessThanOrEqual":"0.001003","status":"affected","version":"0","versionType":"custom"}]}],"source":"9b29abf9-4ab0-4765-b253-1875cd9b441e"}],"configurations":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:jjnapiork:pagi\\:\\:middleware\\:\\:session\\:\\:store\\:\\:cookie:*:*:*:*:*:perl:*:*","matchCriteriaId":"F57280AD-BF5A-4F15-B7E5-F8E2BBA7F47D","versionEndIncluding":"0.001003","vulnerable":true}],"negate":false,"operator":"OR"}]}],"cveTags":[],"descriptions":[{"lang":"en","value":"PAGI::Middleware::Session::Store::Cookie versions through 0.001003 for Perl generates random bytes insecurely.\n\nPAGI::Middleware::Session::Store::Cookie attempts to read bytes from the /dev/urandom device directly. If that fails (for example, on systems without the device, such as Windows), then it will emit a warning that recommends the user install Crypt::URandom, and then return a string of random bytes generated by the built-in rand function, which is unsuitable for cryptographic applications.\n\nThis modules does not use the Crypt::URandom module, and installing it will not fix the problem.\n\nThe random bytes are used for generating an initialisation vector (IV) to encrypt the cookie.\n\nA predictable IV may make it easier for malicious users to decrypt and tamper with the session data that is stored in the cookie."},{"lang":"es","value":"Las versiones de PAGI::Middleware::Session::Store::Cookie hasta la 0.001003 para Perl generan bytes aleatorios de forma insegura.\n\nPAGI::Middleware::Session::Store::Cookie intenta leer bytes directamente del dispositivo /dev/urandom. Si eso falla (por ejemplo, en sistemas sin el dispositivo, como Windows), entonces emitirá una advertencia que recomienda al usuario instalar Crypt::URandom, y luego devolverá una cadena de bytes aleatorios generados por la función 'rand' incorporada, lo cual no es adecuado para aplicaciones criptográficas.\n\nEste módulo no utiliza el módulo Crypt::URandom, e instalarlo no solucionará el problema.\n\nLos bytes aleatorios se utilizan para generar un vector de inicialización (IV) para cifrar la cookie.\n\nUn IV predecible puede facilitar a los usuarios malintencionados descifrar y manipular los datos de la sesión que se almacenan en la cookie."}],"id":"CVE-2026-5087","lastModified":"2026-07-24T20:10:00.147","metrics":{"cvssMetricV31":[{"cvssData":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"exploitabilityScore":3.9,"impactScore":3.6,"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary"}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"id":"CVE-2026-5087","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-04-01T14:40:20.356872Z","version":"2.0.3"}}]},"published":"2026-03-31T16:16:35.080","references":[{"source":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":["Broken Link"],"url":"https://metacpan.org/release/JJNAPIORK/PAGI-Middleware-Session-Store-Cookie-0.001003/source/lib/PAGI/Middleware/Session/Store/Cookie.pm#L156-173"},{"source":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":["Release Notes"],"url":"https://metacpan.org/release/JJNAPIORK/PAGI-Middleware-Session-Store-Cookie-0.001004/changes"},{"source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"url":"http://www.openwall.com/lists/oss-security/2026/03/31/10"}],"sourceIdentifier":"9b29abf9-4ab0-4765-b253-1875cd9b441e","vulnStatus":"Analyzed","weaknesses":[{"description":[{"lang":"en","value":"CWE-338"},{"lang":"en","value":"CWE-1204"}],"source":"9b29abf9-4ab0-4765-b253-1875cd9b441e","type":"Secondary"}]}
|