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.
Advisories
Source ID Title
EUVD EUVD EUVD-2024-0870 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.
Github GHSA Github GHSA GHSA-882j-4vj5-7vmj Cache Poisoning Vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-02T01:03:51.704Z

Reserved: 2024-03-14T16:59:47.614Z

Link: CVE-2024-29042

cve-icon Vulnrichment

Updated: 2024-08-01T20:50:27.695Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-03-22T17:15:07.990

Modified: 2024-11-21T09:07:26.187

Link: CVE-2024-29042

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.