Skip to content

Log entry injection in Spring Framework

Moderate severity GitHub Reviewed Published Jan 12, 2022 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

maven org.springframework:spring-core (Maven)

Affected versions

>= 5.3.0, < 5.3.14
>= 5.2.0, < 5.2.19

Patched versions

5.3.14
5.2.19

Description

In Spring Framework versions 5.3.0 - 5.3.13, 5.2.0 - 5.2.18, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries. This is a follow-up to CVE-2021-22096 that protects against additional types of input and in more places of the Spring Framework codebase.

References

Published by the National Vulnerability Database Jan 10, 2022
Reviewed Jan 11, 2022
Published to the GitHub Advisory Database Jan 12, 2022
Last updated Feb 3, 2023

Severity

Moderate
4.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Weaknesses

No CWEs

CVE ID

CVE-2021-22060

GHSA ID

GHSA-6gf2-pvqw-37ph

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.