Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:38827
HistoryJan 11, 2023 - 3:45 a.m.

Privilege Escalation

2023-01-1103:45:30
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
6
github
cri-o
vulnerability
privilege escalation
container_create.go
homedir parameter

0.0004 Low

EPSS

Percentile

5.1%

github.com/cri-o/cri-o is vulnerable to Privilege Escalation. The vulnerability exists because the setupContainerUser function in container_create.go does not properly validate the homedir parameter, allowing an attacker to maliciously craft an environment variable with newlines to add entries to a container’s /etc/passwd.