Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
HIGH severity

CVE-2021-21234 — spring-boot-actuator-logv…

HIGHFix: lukashinsch/spring-boot-actuator-logview@1c76e1e

CVE-2021-21234 is a high-severity (CVSS 7.7) Path Traversal vulnerability in eu.hinsch:spring-boot-actuator-logview. 2 public exploit references exist, so weaponization risk is real. A fix is available for eu.hinsch:spring-boot-actuator-logview — see the affected versions and patch details below.

Directory Traversal in spring-boot-actuator-logview

Also known asGHSA-p4q6-qxjx-8jgp
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
2 known
Exploitation data as of Oct 8, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
21.0%probability of exploitation in next 30 days
Moderate Risk0.00%
Lower risk than most CVEs98th percentile — riskier than 98% of all scored CVEsHighest risk
0.00%33.3%66.7%100.0%93.9%21.0%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2021-21234 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,386 CVEs with a current EPSS score, this one falls in the 10–50% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected
☕eu.hinsch:spring-boot-actuator-logview

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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 Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
☕Maveneu.hinsch:spring-boot-actuator-logviewall versions0.2.13eu.hinsch:spring-boot-actuator-logview:0.2.13

Affected Products

1 product · 1 configurations
Application
spring-boot-actuator-logviewspring-boot-actuator-logview_project
≤ 0.2.12
range
Exploits & PoCs
2

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for eu.hinsch:spring-boot-actuator-logview, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update eu.hinsch:spring-boot-actuator-logview to 0.2.13 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-21234 is resolved across your whole dependency graph.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

How to detect CVE-2021-21234

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id cve-2021-21234 -u https://target
Template
Spring Boot Actuator Logview Directory Traversal
Severity
high
Impact
This vulnerability can lead to unauthorized access to sensitive information stored on the server.
Remediation
Apply the latest security patches or upgrade to a patched version of Spring Boot Actuator.

Template by ProjectDiscovery nuclei-templates (gy741, pikpikcu), MIT licensed. View the full template. Scan only systems you are authorised to test.

Frequently Asked Questions

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 `file
O3 Security · Impact-Aware SCA

Is CVE-2021-21234 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2021-21234: spring-boot-actuator — Fixed in 0.2.13