QID 983237
QID 983237: Java (maven) Security Update for eu.hinsch:spring-boot-actuator-logview (GHSA-p4q6-qxjx-8jgp)
Security update has been released for eu.hinsch:spring-boot-actuator-logview to fix the vulnerability.
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
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).
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.
- GHSA-p4q6-qxjx-8jgp -
github.com/advisories/GHSA-p4q6-qxjx-8jgp
CVEs related to QID 983237
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-p4q6-qxjx-8jgp | eu.hinsch:spring-boot-actuator-logview |
|