Skip to content
Heist/ feed
Back to feed
Medium

micronaut-core management endpoints vulnerable to drive-by localhost attack

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-23639
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:45 UTC · Revision 1

Source evidence

micronaut-core management endpoints vulnerable to drive-by localhost attack

core-osv · Original source

Published 9 Feb 2024, 00:15 UTC

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.

osv:CVE-2024-23639
Complete source record
{
  "id": "53a0997ac3dcf3394f7f841678e6e5185827d18c22942a1e78fc92d9a3bfa1de",
  "url": "https://osv.dev/vulnerability/CVE-2024-23639",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "micronaut-core management endpoints vulnerable to drive-by localhost attack",
    "summary": "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.",
    "evidence": "osv:CVE-2024-23639",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-23639",
      "aliases": [
        "CVE-2024-23639",
        "GHSA-583g-g682-crxf"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/micronaut-projects/micronaut-core",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "68f9bb0a78fa930865d37fca39252b9ec66e4a43"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.8.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:objectcomputing:micronaut:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.8.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.8.2",
            "v3.8.1",
            "v3.8.0",
            "v3.7.0",
            "v3.6.0",
            "v3.5.0",
            "v3.4.0",
            "v3.3.0-M1",
            "v3.2.0",
            "v3.1.0",
            "v3.0.0",
            "v3.0.0-RC1",
            "v3.0.0-M5",
            "v3.0.0-M4",
            "v3.0.0-M2",
            "v2.0.1",
            "v2.0.0",
            "v2.0.0.RC2",
            "v2.0.0.RC1",
            "v1.3.0",
            "v1.3.0.RC1",
            "v1.3.0.M2",
            "v1.3.0.TEST",
            "v1.3.0.M1",
            "v1.2.0",
            "v1.2.0.RC2",
            "v1.2.0.RC1",
            "v1.1.0.RC2",
            "v1.1.0.RC1",
            "v1.1.0.M2",
            "v1.1.0.M1",
            "v1.0.0",
            "v1.0.0.RC3",
            "v1.0.0.RC2",
            "v1.0.0.M4",
            "v1.0.0.M3",
            "v1.0.0.M2",
            "v1.0.0.M1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-23639.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.074803584Z",
      "provider": "osv",
      "references": [
        "https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23639.json",
        "https://github.com/micronaut-projects/micronaut-core/security/advisories/GHSA-583g-g682-crxf",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-23639"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-15",
          "CWE-610",
          "CWE-664"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23639.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-23639",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503276,
  "published_at": "2024-02-09T00:15:34.496+00:00"
}