io.micronaut:micronaut-http-server@3.6.1 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the io.micronaut:micronaut-http-server package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
External Control of System or Configuration Setting

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.

How to fix External Control of System or Configuration Setting?

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

[,3.8.3)