{"id":"CVE-2018-25160","state":"PUBLISHED","title":"HTTP::Session2 versions through 1.09 for Perl does not validate the format of user provided session ids, enabling code injection or other impact depending on session backend","description":"HTTP::Session2 versions through 1.09 for Perl does not validate the format of user provided session ids, enabling code injection or other impact depending on session backend.\n\nFor example, if an application uses memcached for session storage, then it may be possible for a remote attacker to inject memcached commands in the session id value.","publishedAt":"2026-02-27T20:15:31.418Z","updatedAt":"2026-03-03T20:22:20.829Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["TOKUHIROM HTTP::Session2"],"affected":[{"vendor":"TOKUHIROM","product":"HTTP::Session2","packageName":"HTTP-Session2","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.09","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","repo":"https://github.com/tokuhirom/HTTP-Session2"}],"references":["https://github.com/tokuhirom/HTTP-Session2/commit/813838f6d08034b6a265a70e53b59b941b5d3e6d.patch","https://metacpan.org/release/TOKUHIROM/HTTP-Session2-1.10/source/Changes","https://metacpan.org/pod/Cache::Memcached::Fast::Safe","http://www.openwall.com/lists/oss-security/2026/02/27/13"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T19:44:44.295Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/25xxx/CVE-2018-25160.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2018-25160","state":"PUBLISHED","datePublished":"2026-02-27T20:15:31.418Z","dateUpdated":"2026-03-03T20:22:20.829Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-02-26T11:50:05.854Z"},"containers":{"cna":{"title":"HTTP::Session2 versions through 1.09 for Perl does not validate the format of user provided session ids, enabling code injection or other impact depending on session backend","descriptions":[{"lang":"en","value":"HTTP::Session2 versions through 1.09 for Perl does not validate the format of user provided session ids, enabling code injection or other impact depending on session backend.\n\nFor example, if an application uses memcached for session storage, then it may be possible for a remote attacker to inject memcached commands in the session id value."}],"affected":[{"vendor":"TOKUHIROM","product":"HTTP::Session2","packageName":"HTTP-Session2","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.09","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","repo":"https://github.com/tokuhirom/HTTP-Session2"}],"references":[{"url":"https://github.com/tokuhirom/HTTP-Session2/commit/813838f6d08034b6a265a70e53b59b941b5d3e6d.patch","tags":["patch"]},{"url":"https://metacpan.org/release/TOKUHIROM/HTTP-Session2-1.10/source/Changes","tags":["release-notes"]},{"url":"https://metacpan.org/pod/Cache::Memcached::Fast::Safe","tags":["related"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-02-27T20:15:31.418Z"},"impacts":[{"capecId":"CAPEC-248","descriptions":[{"lang":"en","value":"CAPEC-248 Command Injection"}]}],"solutions":[{"lang":"en","value":"HTTP::Session2 has been deprecated since version 1.11, users are recommended to migrate to a different solution."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2018-01-26T00:00:00.000Z","value":"version 1.10 HTTP::Session2 released with fix."},{"lang":"en","time":"2026-02-24T00:00:00.000Z","value":"version 1.11 HTTP::Session2 deprecated."}],"workarounds":[{"lang":"en","value":"Upgrade to version 1.10 or later.\n\nUse a session storage module that offers protection against command injections, such as Cache::Memcached::Fast::Safe."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/02/27/13"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-02-28T00:15:29.050Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.5,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-03-03T20:22:03.246004Z","id":"CVE-2018-25160","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-03T20:22:20.829Z"}}]}}}