CVE-2025-66415

Description

A flaw was found in fastify-reply-from. This vulnerability allows an attacker to bypass intended route restrictions and gain unauthorized access to specific application routes, potentially exposing sensitive information or functionality, via crafting a malicious Uniform Resource Locator (URL).

Statement

This vulnerability is rated Moderate for Red Hat because it allows an attacker to bypass intended route restrictions in applications utilizing the fastify-reply-from plugin by crafting a malicious URL. This could lead to unauthorized access to specific application routes, potentially exposing sensitive information or functionality.

Mitigation

To mitigate the risk associated with this vulnerability, Red Hat recommends restricting network access to applications utilizing `fastify-reply-from` to trusted networks only. Additionally, ensure that any routes intended to be inaccessible via forwarding have robust, independent access control mechanisms in place, separate from the `fastify-reply-from` plugin's internal logic. If the `fastify-reply-from` functionality is not essential, consider disabling or removing the plugin to eliminate the attack surface.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.55.4N/A
Attack VectorNetworkNetworkN/A
Attack ComplexityLowLowN/A
Privileges RequiredNoneNoneN/A
User InteractionNoneRequiredN/A
ScopeUnchangedUnchangedN/A
ConfidentialityLowLowN/A
Integrity ImpactLowLowN/A
Availability ImpactNoneNoneN/A

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

NVD: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Understanding the Weakness (CWE)

Non-Repudiation,Access Control

Technical Impact: Gain Privileges or Assume Identity; Hide Activities; Execute Unauthorized Code or Commands

Frequently Asked Questions

Want to get errata notifications? Sign up here.