Files
buildkit/solver
Tonis Tiigi 408266e4ba user: limit size of parsed passwd/group files
Resolving a username to uid/gid read /etc/passwd and /etc/group via
os.Open with no upper bound, letting a crafted image force unbounded
memory use during user resolution. Cap reads at 10MiB and reject
non-regular files in both the OCI executor and the chown user resolver.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 83cfc1e0ea1dcf8816f259ee6720b8694ab874e5)
2026-06-24 10:56:53 -07:00
..
2026-06-24 10:56:46 -07:00
2025-05-02 12:19:22 -07:00
2025-05-02 12:19:17 -07:00
2025-03-07 08:18:45 -08:00
2025-05-02 12:19:17 -07:00
2026-05-14 10:13:15 -07:00
2024-07-12 16:03:18 -07:00
2025-05-02 12:19:17 -07:00
2026-05-14 10:13:21 -07:00
2025-03-07 08:18:45 -08:00