{"id":"CVE-2024-29042","published":"2024-03-22T16:46:21Z","modified":"2024-08-02T01:03:51Z","title":"Translate Cache Poisoning Vulnerability","vendor":"franciscop","product":"translate","tier":"tail","description":{"text":"Translate is a package that allows users to convert text to different languages on Node.js and the browser. Prior to version 3.0.0, an attacker controlling the second variable of the `translate` function is able to perform a cache poisoning attack. They can change the outcome of translation requests made by subsequent users. The `opt.id` parameter allows the overwriting of the cache key. If an attacker sets the `id` variable to the cache key that would be generated by another user, they can choose the response that user gets served. Version 3.0.0 fixes this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00744,"percentile":0.50854,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/franciscop/translate/security/advisories/GHSA-882j-4vj5-7vmj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/franciscop/translate/commit/7a2bf8b9f05f7c45c09683973ef4d8e995804aa4","tags":["x_refsource_MISC"]},{"url":"https://github.com/franciscop/translate/commit/cc1ba03078102f83e0503a96f1a081489bb865d3","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":10.17},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"franciscop","affectedVersions":[{"vendor":"franciscop","product":"translate","versions":["< 3.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-01T20:47:55.700604Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"translate","vulnerableRanges":["<3.0.0"],"patched":["3.0.0"],"from":["GHSA-882j-4vj5-7vmj"],"provenance":"source"}],"summary":{"text":"The translate package for Node.js and the browser, prior to version 3.0.0, contains a cache poisoning flaw in its translate function, where the opt.id parameter lets callers overwrite the cache key. An attacker who can supply that second argument over the network, with no authentication or user interaction required, can set the id to match the cache key another user's request would generate, so that user is served the attacker's chosen translation response.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:54Z"},"euvd":{"id":"EUVD-2024-0870","exploited":false,"provenance":"source"}}