CVE-2022-21230

published 1 May 2022 · updated 16 Sep 2024

Information Exposure

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in unspecified.

This affects all versions of package org.nanohttpd:nanohttpd. Whenever an HTTP Session is parsing the body of an HTTP request, the body of the request is written to a RandomAccessFile when the it is larger than 1024 bytes. This file is created with insecure permissions that allow its contents to be viewed by all users on the host machine. **Workaround:** Manually specifying the -Djava.io.tmpdir= argument when launching Java to set the temporary directory to a directory exclusively controlled by the current user can fix this issue.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<unspecifiedunspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-21230 severity on Zeptric[![CVE-2022-21230](https://zeptric.io/badge/cve/CVE-2022-21230.svg)](https://zeptric.io/cve/CVE-2022-21230)