{"answers":{"affected":"2 open source packages ship an affected version, including @fastify/reply-from. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-51701 in the wild and no public exploit code.","fix":"Upgrade @fastify/reply-from to 9.6.0 or later.","what":"CVE-2023-51701 is a medium-severity vulnerability in fastify-reply-from, published on 8 Jan 2024."},"fix_prompt":"Check this codebase for CVE-2023-51701 and fix it if it is affected.\n\nWhat it is: CVE-2023-51701 is a medium-severity vulnerability in fastify-reply-from, published on 8 Jan 2024. \nExploitation: There is no known exploitation of CVE-2023-51701 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @fastify/reply-from (npm): affected all versions; fixed in 9.6.0\n- @fastify/reply-from (npm): affected all versions; fixed in 9.6.0\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/CVE-2023-51701/ (Markdown: https://insights.sbomify.com/CVE-2023-51701/index.md)","id":"CVE-2023-51701","markdown":"https://insights.sbomify.com/CVE-2023-51701/index.md","name":"CVE-2023-51701","record":{"aliases":["GHSA-v2v2-hph8-q5xp"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"reply-from","vendor":"fastify"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"description":"fastify-reply-from is a Fastify plugin to forward the current HTTP request to another server. A reverse proxy server built with `@fastify/reply-from` could misinterpret the incoming body by passing an header `ContentType: application/json ; charset=utf-8`. This can lead to bypass of security checks. This vulnerability has been patched in '@fastify/reply-from` version 9.6.0.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"@fastify-reply-from JSON Content-Type parsing confusion","id":"CVE-2023-51701","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"Apache Airflow CNCF Kubernetes provider, Apache Airflow: Kubernetes configuration file saved without encryption in the Metadata and logged as plain text in the Triggerer service","id":"CVE-2023-51702"},"packages":[{"ecosystem":"npm","fixed":["9.6.0"],"introduced":["0"],"last_affected":[],"package":"@fastify/reply-from","purl":null,"source":"GHSA-v2v2-hph8-q5xp"},{"ecosystem":"npm","fixed":["9.6.0"],"introduced":["0"],"last_affected":[],"package":"@fastify/reply-from","purl":"pkg:npm/%40fastify/reply-from","source":"GHSA-v2v2-hph8-q5xp"}],"prev":{"headline":"WP-Mobile-BankID-Integration WordPress Database Deserialization: Potential for Object Injection","id":"CVE-2023-51700"},"products":["fastify-reply-from"],"published":"2024-01-08","related":[{"cvss_score":6.9,"headline":"fastify-reply-from bypass of reply forwarding","id":"CVE-2025-66415","kev_date_added":null,"published":"2025-12-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-03","vendors":["fastify"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2023-51701/"}