Skip to content

Heap based buffer overwrite in urandom.so plugin

Moderate
troglobit published GHSA-fv6v-vw8h-9x79 May 6, 2025

Package

finit

Affected versions

>= 4.2

Patched versions

4.12

Description

Impact

The urandom1 plugin, has a heap buffer overwrite vulnerability at boot which leads to it overwriting other parts of the heap, possibly causing random instabilities and undefined behavior.

The urandom plugin is enabled by default, so this bug affects everyone using Finit 4.2, or later, that do not explicitly disable the plugin at build time.

Patches

This bug is fixed in Finit 4.12.

Workarounds

If you cannot upgrade, or backport the fix to urandom.c, it is strongly recommended to disable the plugin in the call to the configure script.

References

None.

Footnotes

  1. urandom.so is responsible for saving random seed data at shutdown and seeding /dev/urandom at boot from the previously saved data.

Severity

Moderate

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
Local
Attack complexity
High
Privileges required
High
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low

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:L/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:L

CVE ID

CVE-2025-32022

Weaknesses

Out-of-bounds Write

The product writes data past the end, or before the beginning, of the intended buffer. Learn more on MITRE.

Credits