Improper Certificate Validation Affecting ruby-css-parser package, versions <1.6.0-2+deb12u1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.24% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-RUBYCSSPARSER-16748494
  • published18 May 2026
  • disclosed14 May 2026

Introduced: 14 May 2026

CVE-2026-44312  (opens in a new tab)
CWE-295  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade Debian:12 ruby-css-parser to version 1.6.0-2+deb12u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-css-parser package and not the ruby-css-parser package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

css_parser is a Ruby CSS parser. Prior to 2.1.0 and 1.22.0, the CSS Parser gem does not validate HTTPS connections, allowing a Man-in-the-Middle (MITM) attacker to inject or modify CSS content when stylesheets are loaded via HTTPS. The connection is established with OpenSSL::SSL::VERIFY_NONE, meaning any HTTPS certificate—even entirely untrusted—will be accepted without validation. This vulnerability is fixed in 2.1.0 and 1.22.0.