Home / lukashinsch / spring-boot-actuator-logview / CVE-2021-21234
CVE-2021-21234: is it exploited, and which versions of lukashinsch spring-boot-actuator-logview are affected and fixed?
CVE-2021-21234 is a path traversal (reading or writing files outside the intended folder) vulnerability in lukashinsch spring-boot-actuator-logview. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: eu.hinsch:spring-boot-actuator-logview before 0.2.13 (GitHub advisory GHSA-p4q6-qxjx-8jgp). Fixed in 0.2.13 (GitHub advisory GHSA-p4q6-qxjx-8jgp). Severity: High (7.7, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 08:04 UTC.
What is CVE-2021-21234?
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.
From the CVE record by GitHub_M, last updated August 3, 2024, 18:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| lukashinsch | spring-boot-actuator-logview | < 0.2.13 |
As the CVE record by GitHub_M states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | eu.hinsch:spring-boot-actuator-logview | < 0.2.13 | 0.2.13 | GHSA-p4q6-qxjx-8jgp |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 7, 2021. Summary: Directory Traversal in spring-boot-actuator-logview.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| spring-boot-actuator-logview project | spring-boot-actuator-logview | through 0.2.12 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:35 UTC.
How severe is CVE-2021-21234?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N | GitHub_M |
| High 7.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N | NVD |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-21234 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 21.2% probability of exploitation activity in the next 30 days, percentile 97.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/lukashinsch/spring-boot-actuator-logview/security/advisories/GHSA-p4q6-qxjx-8jgp x_refsource_CONFIRM
- https://github.com/lukashinsch/spring-boot-actuator-logview/commit/1c76e1ec3588c9f39e1a94bf27b5ff56eb8b17d6 x_refsource_MISC
- https://github.com/lukashinsch/spring-boot-actuator-logview/commit/760acbb939a8d1f7d1a7dfcd51ca848eea04e772 x_refsource_MISC
- https://search.maven.org/artifact/eu.hinsch/spring-boot-actuator-logview x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 22, 2020
- Published
- January 5, 2021, 17:30 UTC
- CVE record updated
- August 3, 2024, 18:09 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 03:35 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 08:04 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2021-21234
Is CVE-2021-21234 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 21.2% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of lukashinsch spring-boot-actuator-logview are affected by CVE-2021-21234?
eu.hinsch:spring-boot-actuator-logview before 0.2.13, per the GitHub advisory GHSA-p4q6-qxjx-8jgp. The tables above give every range the sources list.
Which version fixes CVE-2021-21234?
0.2.13, per the GitHub advisory GHSA-p4q6-qxjx-8jgp. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-21234?
High (7.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-21234?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.