{"id":"CVE-2024-29042","state":"PUBLISHED","title":"Translate Cache Poisoning Vulnerability","description":"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.","publishedAt":"2024-03-22T16:46:21.456Z","updatedAt":"2024-08-02T01:03:51.704Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["franciscop translate"],"affected":[{"vendor":"franciscop","product":"translate","versions":[{"version":"< 3.0.0","status":"affected"}]}],"references":["https://github.com/franciscop/translate/security/advisories/GHSA-882j-4vj5-7vmj","https://github.com/franciscop/translate/commit/7a2bf8b9f05f7c45c09683973ef4d8e995804aa4","https://github.com/franciscop/translate/commit/cc1ba03078102f83e0503a96f1a081489bb865d3"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/29xxx/CVE-2024-29042.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-29042","state":"PUBLISHED","datePublished":"2024-03-22T16:46:21.456Z","dateUpdated":"2024-08-02T01:03:51.704Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-03-14T16:59:47.614Z"},"containers":{"cna":{"title":"Translate Cache Poisoning Vulnerability","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"franciscop","product":"translate","versions":[{"version":"< 3.0.0","status":"affected"}]}],"references":[{"url":"https://github.com/franciscop/translate/security/advisories/GHSA-882j-4vj5-7vmj","name":"https://github.com/franciscop/translate/security/advisories/GHSA-882j-4vj5-7vmj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/franciscop/translate/commit/7a2bf8b9f05f7c45c09683973ef4d8e995804aa4","name":"https://github.com/franciscop/translate/commit/7a2bf8b9f05f7c45c09683973ef4d8e995804aa4","tags":["x_refsource_MISC"]},{"url":"https://github.com/franciscop/translate/commit/cc1ba03078102f83e0503a96f1a081489bb865d3","name":"https://github.com/franciscop/translate/commit/cc1ba03078102f83e0503a96f1a081489bb865d3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-03-22T16:46:21.456Z"},"source":{"advisory":"GHSA-882j-4vj5-7vmj","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"franciscop","product":"translate","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"3.0.0","versionType":"custom"}],"cpes":["cpe:2.3:a:franciscop:translate:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-01T20:47:55.700604Z","id":"CVE-2024-29042","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-01T20:50:38.165Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/franciscop/translate/security/advisories/GHSA-882j-4vj5-7vmj","name":"https://github.com/franciscop/translate/security/advisories/GHSA-882j-4vj5-7vmj","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/franciscop/translate/commit/7a2bf8b9f05f7c45c09683973ef4d8e995804aa4","name":"https://github.com/franciscop/translate/commit/7a2bf8b9f05f7c45c09683973ef4d8e995804aa4","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/franciscop/translate/commit/cc1ba03078102f83e0503a96f1a081489bb865d3","name":"https://github.com/franciscop/translate/commit/cc1ba03078102f83e0503a96f1a081489bb865d3","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T01:03:51.704Z"}}]}}}