Read the docs
TI-2022-05622 Aliases CVE-2022-21230

Information exposure in org.nanohttpd:nanohttpd

Priority LOW 25Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

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.

Why it matters now

EPSS 0.003 22nd percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—org.nanohttpd:nanohttpdall versions—No fix listedCNA
  • org.nanohttpd:nanohttpd Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nanohttpd:nanohttpd:*:*:*:*:*:*:*:*up to 2.3.1VulnerableNanohttpd
  • cpe:2.3:a:nanohttpd:nanohttpd:*:*:*:*:*:*:*:* Versions up to 2.3.1 Vulnerable ·Nanohttpd

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-21230

References

  • TI-2020-10744 An issue was discovered in RouterNanoHTTPD.java in NanoHTTPD through 2.3.1. CVSS 3.1MEDIUM 6.1

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences