CVE-2020-37056

9.8 CRITICAL
Published: January 30, 2026 Modified: February 03, 2026
View on NVD

Description

Crystal Shard http-protection 0.2.0 contains an IP spoofing vulnerability that allows attackers to bypass protection middleware by manipulating request headers. Attackers can hardcode consistent IP values across X-Forwarded-For, X-Client-IP, and X-Real-IP headers to circumvent security checks and gain unauthorized access.

AI Explanation

### 1. Summary This vulnerability allows attackers to spoof their IP address by manipulating HTTP headers (`X-Forwarded-For`, `X-Client-IP`, `X-Real-IP`) in the Crystal Shard `http-protection` library v0.2.0. This bypasses IP-based security checks (e.g., rate limiting, access controls), potentially enabling unauthorized access. ### 2. Affected Products/Versions - **Product**: Crystal Shard `http-protection` library - **Affected Version**: **0.2.0 only** (earlier/later versions are not mentioned in the CVE). ### 3. Attacker Impact If exploited, attackers can: - **Bypass IP-based security middleware** (e.g., blocklists, rate limits, geographic restrictions). - **Gain unauthorized access** to protected resources by impersonating a trusted IP address. ### 4. Recommended Remediation - **Update immediately**: Upgrade `http-protection` to a patched version (post-0.2.0). Check the library’s [GitHub](https://github.com/crystal-shard/http-protection) for fixes. - **Mitigation (if unable to update)**: - Disable or harden trust in proxy headers (e.g., only allow `X-Forwarded-For` from trusted reverse proxies). - Implement additional authentication/authorization layers not reliant on IP headers. - **Verify**: Audit dependencies to ensure v0.2.0 is removed. > **Critical Note**: CVSS 9.8 severity demands immediate action. Test patches in non-production environments first.

Generated: 2026-02-01 01:08

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory

3 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
0.0%
5th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)