{"id":"GHSA-v78c-4p63-2j6c","aliases":["GHSA-v78c-4p63-2j6c"],"related":[],"kind":"vulnerability","state":"published","title":"Cleartext Transmission of Sensitive Information in moment-timezone","summary":"### Impact\n\n* if Alice uses `grunt data` (or `grunt release`) to prepare a custom-build, moment-timezone with the latest tzdata from IANA's website\n* 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)\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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\n\n* if Alice uses `grunt data` (or `grunt release`) to prepare a custom-build, moment-timezone with the latest tzdata from IANA's website\n* 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)\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.","format":"markdown","source":"ghsa"}],"published":"2022-08-30T20:28:43.000Z","modified":"2022-08-30T20:28:43.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-319"],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","fixed":"0.5.35"}],"ecosystem":"npm","package":"moment-timezone","purl":"pkg:npm/moment-timezone","source":"ghsa"}],"references":[{"url":"https://github.com/moment/moment-timezone/security/advisories/GHSA-v78c-4p63-2j6c","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/moment/moment-timezone/commit/7915ac567ab19700e44ad6b5d8ef0b85e48a9e75","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/moment/moment-timezone","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v78c-4p63-2j6c","url":"https://github.com/advisories/GHSA-v78c-4p63-2j6c","licence":"CC-BY-4.0","modified":"2022-08-30T20:28:43.000Z"}],"updatedAt":"2026-11-25T22:56:46.599Z"}