CVE-2022-39956
mod_security_crs: Content-Type or Content-Transfer-Encoding MIME header fields abuse
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD. Más baja según Red Hat (media).
Descripción
The OWASP ModSecurity Core Rule Set (CRS) is affected by a partial rule set bypass for HTTP multipart requests by submitting a payload that uses a character encoding scheme via the Content-Type or the deprecated Content-Transfer-Encoding multipart MIME header fields that will not be decoded and inspected by the web application firewall engine and the rule set. The multipart payload will therefore bypass detection. A vulnerable backend that supports these encoding schemes can potentially be exploited. The legacy CRS versions 3.0.x and 3.1.x are affected, as well as the currently supported versions 3.2.1 and 3.3.2. Integrators and users are advised upgrade to 3.2.2 and 3.3.3 respectively. The mitigation against these vulnerabilities depends on the installation of the latest ModSecurity version (v2.9.6 / v3.0.8).
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| debian 10 | modsecurity-crs | 3.2.3-0+deb10u3 |
| debian 11 | modsecurity-crs | 3.3.4-1~deb11u1 |
| debian 12 | modsecurity-crs | 3.3.4-1 |
| debian 13 | modsecurity-crs | 3.3.4-1 |
| debian 14 | modsecurity-crs | 3.3.4-1 |
| echo | modsecurity-crs | 3.3.4-1 |
| rapidfort alma 8 | mod_security_crs | sin corrección indicada |
| rapidfort alma 9 | mod_security_crs | sin corrección indicada |
| rapidfort Red Hat 9 | mod_security_crs | sin corrección indicada |
| Red Hat | mod_security_crs | sin corrección indicada |
Referencias
- https://access.redhat.com/security/cve/CVE-2022-39956
- https://coreruleset.org/20220919/crs-version-3-3-3-and-3-2-2-covering-several-cves/
- https://github.com/advisories/GHSA-5xc6-pmr2-qj78
- https://lists.debian.org/debian-lts-announce/2023/01/msg00033.html
- https://lists.debian.org/debian-lts-announce/2025/08/msg00004.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HL2L2GF7GOCWPMJZDUE5OXDSXHGG3XUJ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PD56EAYNGB6E6QQH62LAYCONOP6OH5DZ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YPQ6CCMX3MU4A7MTCGQJA7VMJW3IQDXV/