GHSA-V78C-4P63-2J6C
Vulnerability from github – Published: 2022-08-30 20:28 – Updated: 2022-08-30 20:28
VLAI
Summary
Cleartext Transmission of Sensitive Information in moment-timezone
Details
Impact
- if Alice uses
grunt data(orgrunt release) to prepare a custom-build, moment-timezone with the latest tzdata from IANA's website - and Mallory intercepts the request to IANA's unencrypted ftp server, Mallory can serve data which might exploit further stages of the moment-timezone tzdata pipeline, or potentially produce a tainted version of moment-timezone (practicality of such attacks is not proved)
Patches
Problem has been patched in version 0.5.35, patch should be applicable with minor modifications to all affected versions. The patch includes changing the FTP endpoint with an HTTPS endpoint.
Workarounds
Specify the exact version of tzdata (like 2014d, full command being grunt data:2014d, then run the rest of the release tasks by hand), or just apply the patch before issuing the grunt command.
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "moment-timezone"
},
"ranges": [
{
"events": [
{
"introduced": "0.1.0"
},
{
"fixed": "0.5.35"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-319"
],
"github_reviewed": true,
"github_reviewed_at": "2022-08-30T20:28:43Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"details": "### Impact\n\n* if Alice uses `grunt data` (or `grunt release`) to prepare a custom-build, moment-timezone with the latest tzdata from IANA\u0027s website\n* and Mallory intercepts the request to IANA\u0027s unencrypted ftp server, Mallory can serve data which might exploit further stages of the moment-timezone tzdata pipeline, or potentially produce a tainted version of moment-timezone (practicality of such attacks is not proved)\n\n### Patches\nProblem has been patched in version 0.5.35, patch should be applicable with minor modifications to all affected versions. The patch includes changing the FTP endpoint with an HTTPS endpoint.\n\n### Workarounds\nSpecify the exact version of tzdata (like `2014d`, full command being `grunt data:2014d`, then run the rest of the release tasks by hand), or just apply the patch before issuing the grunt command.\n",
"id": "GHSA-v78c-4p63-2j6c",
"modified": "2022-08-30T20:28:43Z",
"published": "2022-08-30T20:28:43Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/moment/moment-timezone/security/advisories/GHSA-v78c-4p63-2j6c"
},
{
"type": "WEB",
"url": "https://github.com/moment/moment-timezone/commit/7915ac567ab19700e44ad6b5d8ef0b85e48a9e75"
},
{
"type": "PACKAGE",
"url": "https://github.com/moment/moment-timezone"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Cleartext Transmission of Sensitive Information in moment-timezone"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…