Skip to content

Missing authentication when triggering evaluations

High
dasJ published GHSA-xv29-v93r-2f5v Aug 27, 2024

Package

Hydra

Affected versions

42d2015357c18a7137ba65e68e67940cb545bc72

Patched versions

f73043378907c2c7e44f633ad764c8bdd1c947d5

Description

Impact

It is possible to trigger evaluations in Hydra without any authentication. Depending on the size of evaluations, this can impact the availability of systems.

Patches

The problem can be fixed by applying f730433 (which depends on 916531d) to any Hydra package.

Patches for the nixpkgs packages are here:

Workarounds

Deny the /api/push route in a reverse proxy. This also breaks the "Evaluate jobset" button in the frontend.

References

The initial finding was documented here: https://mastodon.delroth.net/@delroth/113029832631860419

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVE ID

CVE-2024-45049

Weaknesses

Credits