{"answers":{"affected":"2 open source packages ship an affected version, including moment-timezone.","exploited":"There is no known exploitation of GHSA-v78c-4p63-2j6c in the wild and no public exploit code.","fix":"Upgrade moment-timezone to 0.5.35 or later.","what":"GHSA-v78c-4p63-2j6c is a vulnerability in moment-timezone, published on 30 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-v78c-4p63-2j6c and fix it if it is affected.\n\nWhat it is: GHSA-v78c-4p63-2j6c is a vulnerability in moment-timezone, published on 30 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-v78c-4p63-2j6c in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- moment-timezone (npm): affected from 0.1.0; fixed in 0.5.35\n- moment-timezone (npm): affected from 0.1.0; fixed in 0.5.35\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-v78c-4p63-2j6c/ (Markdown: https://insights.sbomify.com/GHSA-v78c-4p63-2j6c/index.md)","id":"GHSA-v78c-4p63-2j6c","markdown":"https://insights.sbomify.com/GHSA-v78c-4p63-2j6c/index.md","name":"GHSA-v78c-4p63-2j6c","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"JavaScript timezone library","requires_auth":"none","summary":"An attacker can intercept unencrypted FTP requests during custom builds to inject malicious timezone data, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### 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.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Cleartext Transmission of Sensitive Information in moment-timezone","id":"GHSA-v78c-4p63-2j6c","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2022"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["0.5.35"],"introduced":["0.1.0"],"last_affected":[],"package":"moment-timezone","purl":null,"source":"GHSA-v78c-4p63-2j6c"},{"ecosystem":"npm","fixed":["0.5.35"],"introduced":["0.1.0"],"last_affected":[],"package":"moment-timezone","purl":"pkg:npm/moment-timezone","source":"GHSA-v78c-4p63-2j6c"}],"products":null,"published":"2022-08-30","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An attacker can intercept unencrypted FTP requests during custom builds to inject malicious timezone data, potentially leading to code execution.","url":"https://insights.sbomify.com/GHSA-v78c-4p63-2j6c/"}