ghsa-2q7r-29rg-6m5h
Vulnerability from github
Published
2025-12-02 00:38
Modified
2025-12-02 00:38
Severity ?
VLAI Severity ?
Summary
fastify-reply-from affected by bypass of reply forwarding
Details
Summary
By crafting a malicious URL, an attacker could access routes that are not allowed, even though the reply.from is defined for specific routes in @fastify/reply-from.
Details
An attacker can bypass the route defined by the @fastify/reply-from package by adding a .. symbol, which, for curl version 8.7.1, is %2e%2e.
Impact
Everyone is using this package with the routes option to protect a 3rd-party resource.
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 12.4.0"
},
"package": {
"ecosystem": "npm",
"name": "@fastify/reply-from"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "12.5.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2025-66415"
],
"database_specific": {
"cwe_ids": [
"CWE-441"
],
"github_reviewed": true,
"github_reviewed_at": "2025-12-02T00:38:57Z",
"nvd_published_at": "2025-12-01T23:15:54Z",
"severity": "MODERATE"
},
"details": "### Summary\nBy crafting a malicious URL, an attacker could access routes that are not allowed, even though the `reply.from` is defined for specific routes in `@fastify/reply-from`.\n\n### Details\n\nAn attacker can bypass the route defined by the `@fastify/reply-from` package by adding a `..` symbol, which, for `curl` version `8.7.1`, is `%2e%2e`.\n\n### Impact\n\nEveryone is using this package with the routes option to protect a 3rd-party resource.",
"id": "GHSA-2q7r-29rg-6m5h",
"modified": "2025-12-02T00:38:57Z",
"published": "2025-12-02T00:38:57Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-2q7r-29rg-6m5h"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-66415"
},
{
"type": "WEB",
"url": "https://github.com/fastify/fastify-reply-from/commit/4d9795cd5b57a36756d37b7f036eae369f69fa66"
},
{
"type": "PACKAGE",
"url": "https://github.com/fastify/fastify-reply-from"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
}
],
"summary": "fastify-reply-from affected by bypass of reply forwarding"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…