CVE-2024-29042
published medium CVSS 3.1 · 5.3Translate Cache Poisoning Vulnerability
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| franciscop | translate | < 3.0.0 (affected) | GitHub_M · cna |
| franciscop | translate | 0 to < 3.0.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-20 CWE-20: Improper Input Validation
References
3Provider assertions
3GitHub_M · cna
Translate Cache Poisoning Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 042b6896c5ac30ed059e89940b40492091fade4ad3fc68be8bb8385d85d77603
- Ingested
- 23 Sep 2026, 08:21:14 UTC
- Source record
- Official CVE record