Advisories

NNPDF EKO through 0.15.8 Arbitrary File Write via Symlink Tar Members

Go back
Severity
high
Date
Affecting
  • EKO <= 0.15.8

CWE
  • CWE-59 Improper Link Resolution Before File Access ('Link Following')
CVSS
8.5
CVSS V4 Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Credit
Dilanka Kaushal Hewage (r3vpwnx)
Description
NNPDF EKO through 0.15.8 contains a path traversal vulnerability in EKO.read that allows attackers to write files outside the extraction directory via symbolic link tar members. Attackers can supply a crafted EKO tarball whose safe_extractall check ignores link targets, planting files like usercustomize.py to achieve code execution as the opening user.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.