AUGUST 4, 2026
Live Feed
Back to database
Case File

CVE-2022-21230

MEDIUM · CVSS 5.5 EPSS 0.29% Public Exploit

Source: NVD + CISA KEV + EPSS (historical backfill) · Published 2022-05-01 · Last synced 2026-08-04

CyberRota Analysis

This is a medium severity vulnerability with a CVSS score of 5.5. It affects Java. Public exploit code or proof-of-concept references have been detected in its references.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2022-21230
Severity
MEDIUM
CVSS
5.5
EPSS
0.29%
Java

Original NVD Description

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.

Related CVEs

Other vulnerabilities affecting the same vendor(s)