Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-21234

HIGH 7.7EPSS 98%

Directory Traversal

Also known as GHSA-p4q6-qxjx-8jgp

Mitigation

  • Upgrade eu.hinsch:spring-boot-actuator-logview to 0.2.13 or later.

Who should check

  • Projects that depend on Maven package eu.hinsch:spring-boot-actuator-logview (< 0.2.13)
  • Anyone running lukashinsch spring-boot-actuator-logview < 0.2.13

Vulnerability facts

Affected
eu.hinsch:spring-boot-actuator-logview < 0.2.13
Fixed in
0.2.13
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
7.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
21.17% chance of exploitation in 30 days (percentile 98, 2026-11-26)
CWE
CWE-22
Published
Modified

Description

spring-boot-actuator-logview in a library that adds a simple logfile viewer as spring boot actuator endpoint. It is maven package "eu.hinsch:spring-boot-actuator-logview". In spring-boot-actuator-logview before version 0.2.13 there is a directory traversal vulnerability. The nature of this library is to expose a log file directory via admin (spring boot actuator) HTTP endpoints. Both the filename to view and a base folder (relative to the logging folder root) can be specified via request parameters. While the filename parameter was checked to prevent directory traversal exploits (so that `filename=../somefile` would not work), the base folder parameter was not sufficiently checked, so that `filename=somefile&base=../` could access a file outside the logging base directory). The vulnerability has been patched in release 0.2.13. Any users of 0.2.12 should be able to update without any issues as there are no other changes in that release. There is no workaround to fix the vulnerability other than updating or removing the dependency. However, removing read access of the user the application is run with to any directory not required for running the application can limit the impact. Additionally, access to the logview endpoint can be limited by deploying the application behind a reverse proxy.

Affected and fixed versions

Package / productAffectedFixedSource
Maven eu.hinsch:spring-boot-actuator-logview< 0.2.130.2.13osv
lukashinsch spring-boot-actuator-logview< 0.2.13—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-21234. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-21234.md
Affected: eu.hinsch:spring-boot-actuator-logview < 0.2.13
Fixed in: 0.2.13

Steps:
1. Search this machine and project for eu.hinsch:spring-boot-actuator-logview (Maven), lukashinsch spring-boot-actuator-logview: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-21234 being exploited?

There is no confirmed exploitation: CVE-2021-21234 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 21.17% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-21234?

High: CVSS 7.7 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2021-21234?

eu.hinsch:spring-boot-actuator-logview < 0.2.13.

Is there a fix for CVE-2021-21234?

Yes. Fixed in 0.2.13. Upgrade eu.hinsch:spring-boot-actuator-logview to 0.2.13 or later.

How do I check if I'm affected by CVE-2021-21234?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors