← Back to CVE Explorer

CVE-2025-24934

Full vulnerability record from the local CVENow database.

Description

Software which sets SO_REUSEPORT_LB on a socket and then connects it to a host will not directly observe any problems. However, due to its membership in a load-balancing group, that socket will receive packets originating from any host. This breaks the contract of the connect(2) and implied connect via sendto(2), and may leave the application vulnerable to spoofing attacks. The kernel failed to check the connection state of sockets when adding them to load-balancing groups. Furthermore, when looking up the destination socket for an incoming packet, the kernel will match a socket belonging to a load-balancing group even if it is connected, in violation of the contract that connected sockets are only supposed to receive packets originating from the connected host.

Severity
MEDIUM
CVSS score
5.4 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2025-10-22 18:15:34.013000
Last modified
2026-10-19 16:10:00.260000
View original CVE JSON
{
  "id": "CVE-2025-24934",
  "sourceIdentifier": "[email protected]",
  "published": "2025-10-22T18:15:34.013",
  "lastModified": "2026-10-19T16:10:00.260",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Software which sets SO_REUSEPORT_LB on a socket and then connects it to a host will not directly observe any problems.  However, due to its membership in a load-balancing group, that socket will receive packets originating from any host.  This breaks the contract of the connect(2) and implied connect via sendto(2), and may leave the application vulnerable to spoofing attacks.\n\n\n\n\nThe kernel failed to check the connection state of sockets when adding them to load-balancing groups.  Furthermore, when looking up the destination socket for an incoming packet, the kernel will match a socket belonging to a load-balancing group even if it is connected, in violation of the contract that connected sockets are only supposed to receive packets originating from the connected host."
    },
    {
      "lang": "es",
      "value": "El software que establece SO_REUSEPORT_LB en un socket y luego lo conecta a un host no observará directamente ningún problema. Sin embargo, debido a su pertenencia a un grupo de equilibrio de carga, ese socket recibirá paquetes originados desde cualquier host. Esto rompe el contrato de connect(2) y la conexión implícita a través de sendto(2), y puede dejar la aplicación vulnerable a ataques de suplantación de identidad.\n\nEl kernel no verificó el estado de conexión de los sockets al añadirlos a grupos de equilibrio de carga. Además, al buscar el socket de destino para un paquete entrante, el kernel hará coincidir un socket perteneciente a un grupo de equilibrio de carga incluso si está conectado, en violación del contrato de que los sockets conectados solo deben recibir paquetes originados desde el host conectado."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "FreeBSD",
          "product": "FreeBSD",
          "defaultStatus": "unknown",
          "modules": [
            "netinet"
          ],
          "versions": [
            {
              "version": "15.0-BETA2",
              "lessThan": "p1",
              "versionType": "beta",
              "status": "affected"
            },
            {
              "version": "14.3-RELEASE",
              "lessThan": "p5",
              "versionType": "release",
              "status": "affected"
            },
            {
              "version": "13.5-RELEASE",
              "lessThan": "p6",
              "versionType": "release",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
          "baseScore": 5.4,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 2.5
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2025-10-22T19:58:47.874750Z",
          "id": "CVE-2025-24934",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-488"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://security.freebsd.org/advisories/FreeBSD-SA-25:09.netinet.asc",
      "source": "[email protected]"
    },
    {
      "url": "https://www.usenix.org/system/files/conference/usenixsecurity26/sec26_prepub_ben-simhon.pdf",
      "source": "[email protected]"
    }
  ]
}