CVE-2024-45049 (GCVE-0-2024-45049)
Vulnerability from cvelistv5
Published
2024-08-27 20:33
Modified
2024-08-28 14:03
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-306 - Missing Authentication for Critical Function
Summary
Hydra is a Continuous Integration service for Nix based projects. It is possible to trigger evaluations in Hydra without any authentication. Depending on the size of evaluations, this can impact the availability of systems. The problem can be fixed by applying https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5 to any Hydra package. Users are advised to upgrade. Users unable to upgrade should deny the `/api/push` route in a reverse proxy. This also breaks the "Evaluate jobset" button in the frontend.
References
Impacted products
{
"containers": {
"adp": [
{
"affected": [
{
"cpes": [
"cpe:2.3:a:nixos:hydra:-:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "hydra",
"vendor": "nixos",
"versions": [
{
"lessThan": "f73043378907c2c7e44f633ad764c8bdd1c947d5",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-45049",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-08-28T14:01:29.127323Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-08-28T14:03:00.616Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "hydra",
"vendor": "NixOS",
"versions": [
{
"status": "affected",
"version": "\u003c f73043378907c2c7e44f633ad764c8bdd1c947d5"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Hydra is a Continuous Integration service for Nix based projects. It is possible to trigger evaluations in Hydra without any authentication. Depending on the size of evaluations, this can impact the availability of systems. The problem can be fixed by applying https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5 to any Hydra package. Users are advised to upgrade. Users unable to upgrade should deny the `/api/push` route in a reverse proxy. This also breaks the \"Evaluate jobset\" button in the frontend."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-306",
"description": "CWE-306: Missing Authentication for Critical Function",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-08-27T20:33:01.326Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/NixOS/hydra/security/advisories/GHSA-xv29-v93r-2f5v",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/NixOS/hydra/security/advisories/GHSA-xv29-v93r-2f5v"
},
{
"name": "https://github.com/NixOS/nixpkgs/pull/337766",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/NixOS/nixpkgs/pull/337766"
},
{
"name": "https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5"
},
{
"name": "https://mastodon.delroth.net/@delroth/113029832631860419",
"tags": [
"x_refsource_MISC"
],
"url": "https://mastodon.delroth.net/@delroth/113029832631860419"
}
],
"source": {
"advisory": "GHSA-xv29-v93r-2f5v",
"discovery": "UNKNOWN"
},
"title": "Nix Hydra Missing authentication when triggering evaluations"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-45049",
"datePublished": "2024-08-27T20:33:01.326Z",
"dateReserved": "2024-08-21T17:53:51.331Z",
"dateUpdated": "2024-08-28T14:03:00.616Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2024-45049\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2024-08-27T21:15:07.603\",\"lastModified\":\"2025-09-22T14:59:23.377\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Hydra is a Continuous Integration service for Nix based projects. It is possible to trigger evaluations in Hydra without any authentication. Depending on the size of evaluations, this can impact the availability of systems. The problem can be fixed by applying https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5 to any Hydra package. Users are advised to upgrade. Users unable to upgrade should deny the `/api/push` route in a reverse proxy. This also breaks the \\\"Evaluate jobset\\\" button in the frontend.\"},{\"lang\":\"es\",\"value\":\"Hydra es un servicio de integraci\u00f3n continua para proyectos basados en Nix. Es posible activar evaluaciones en Hydra sin ninguna autenticaci\u00f3n. Dependiendo del tama\u00f1o de las evaluaciones, esto puede afectar la disponibilidad de los sistemas. El problema se puede solucionar aplicando https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5 a cualquier paquete Hydra. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar deben rechazar la ruta `/api/push` en un proxy inverso. Esto tambi\u00e9n rompe el bot\u00f3n \\\"Evaluar conjunto de trabajos\\\" en la interfaz.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-306\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:nixos:hydra:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"2024-08-27\",\"matchCriteriaId\":\"DF6BCDD1-5E83-41DE-91B0-075AA8F6A395\"}]}]}],\"references\":[{\"url\":\"https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/NixOS/hydra/security/advisories/GHSA-xv29-v93r-2f5v\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Vendor Advisory\",\"Patch\"]},{\"url\":\"https://github.com/NixOS/nixpkgs/pull/337766\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Issue Tracking\",\"Patch\"]},{\"url\":\"https://mastodon.delroth.net/@delroth/113029832631860419\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Third Party Advisory\"]}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-45049\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-08-28T14:01:29.127323Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:nixos:hydra:-:*:*:*:*:*:*:*\"], \"vendor\": \"nixos\", \"product\": \"hydra\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"f73043378907c2c7e44f633ad764c8bdd1c947d5\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unknown\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-08-28T14:02:54.430Z\"}}], \"cna\": {\"title\": \"Nix Hydra Missing authentication when triggering evaluations\", \"source\": {\"advisory\": \"GHSA-xv29-v93r-2f5v\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.5, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"NONE\"}}], \"affected\": [{\"vendor\": \"NixOS\", \"product\": \"hydra\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c f73043378907c2c7e44f633ad764c8bdd1c947d5\"}]}], \"references\": [{\"url\": \"https://github.com/NixOS/hydra/security/advisories/GHSA-xv29-v93r-2f5v\", \"name\": \"https://github.com/NixOS/hydra/security/advisories/GHSA-xv29-v93r-2f5v\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/NixOS/nixpkgs/pull/337766\", \"name\": \"https://github.com/NixOS/nixpkgs/pull/337766\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5\", \"name\": \"https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://mastodon.delroth.net/@delroth/113029832631860419\", \"name\": \"https://mastodon.delroth.net/@delroth/113029832631860419\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Hydra is a Continuous Integration service for Nix based projects. It is possible to trigger evaluations in Hydra without any authentication. Depending on the size of evaluations, this can impact the availability of systems. The problem can be fixed by applying https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5 to any Hydra package. Users are advised to upgrade. Users unable to upgrade should deny the `/api/push` route in a reverse proxy. This also breaks the \\\"Evaluate jobset\\\" button in the frontend.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-306\", \"description\": \"CWE-306: Missing Authentication for Critical Function\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2024-08-27T20:33:01.326Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2024-45049\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-08-28T14:03:00.616Z\", \"dateReserved\": \"2024-08-21T17:53:51.331Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2024-08-27T20:33:01.326Z\", \"assignerShortName\": \"GitHub_M\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…