External Control of System or Configuration Setting Affecting io.micronaut:micronaut-http-server-netty package, versions [,3.8.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-IOMICRONAUT-6239521
  • published9 Feb 2024
  • disclosed9 Feb 2024
  • creditUnknown

Introduced: 9 Feb 2024

CVE-2024-23639  (opens in a new tab)
CWE-15  (opens in a new tab)

How to fix?

Upgrade io.micronaut:micronaut-http-server-netty to version 3.8.3 or higher.

Overview

Affected versions of this package are vulnerable to External Control of System or Configuration Setting due to enabled but unsecured management endpoints, susceptible to drive-by localhost attacks.

Note:

While not typical of a production application, these attacks may have more impact on a development environment where such endpoints may be flipped on without much thought. A malicious/compromised website can make HTTP requests to localhost. Normally, such requests would trigger a CORS preflight check which would prevent the request; however, some requests are "simple" and do not require a preflight check. These endpoints, if enabled and not secured, are vulnerable to being triggered. Production environments typically disable unused endpoints and secure/restrict access to needed endpoints. A more likely victim is the developer in their local development host, who has enabled endpoints without security for the sake of easing development.

References

CVSS Scores

version 3.1