CVE-2022-22978
springframework: Authorization Bypass in RegexRequestMatcher
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, GHSA. Más baja según Red Hat (media).
Descripción
In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ and older unsupported versions, RegexRequestMatcher can easily be misconfigured to be bypassed on some servlet containers. Applications using RegexRequestMatcher with `.` in the regular expression are possibly vulnerable to an authorization bypass.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.springframework.security:spring-security-core, org.springframework.security:spring-security-web | 5.5.7, 5.6.4, 5.4.11 |
| Red Hat | jenkins | sin corrección indicada |
Mostrar las 3 entradas de 2 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.springframework.security:spring-security-core | 5.5.7, 5.6.4, 5.4.11 |
| maven::GitHub Security Advisory Maven | org.springframework.security:spring-security-web | 5.5.7, 5.6.4, 5.4.11 |
| Red Hat | jenkins | sin corrección indicada |
Referencias
- https://access.redhat.com/security/cve/CVE-2022-22978
- https://github.com/anchore/grype/issues/2158
- https://github.com/spring-projects/spring-security
- https://github.com/spring-projects/spring-security/blob/main/web/src/main/java/org/springframework/security/web/util/matcher/RegexRequestMatcher.java
- https://nvd.nist.gov/vuln/detail/CVE-2022-22978
- https://security.netapp.com/advisory/ntap-20220707-0003
- https://spring.io/security/cve-2022-22978
- https://tanzu.vmware.com/security/cve-2022-22978