Advisories

HENDRICS 6.0 through 8.5.1 Code Execution via read_from_netcdf() Eval Injection

Go back
Severity
high
Date
Affecting
  • HENDRICS >= 6.0, <= 8.5.1

CWE
  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
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), matteobachetti
Description
HENDRICS 6.0 through 8.5.1 contains an eval injection vulnerability in read_from_netcdf() in hendrics/io.py that passes NetCDF boolean string values to eval(). Attackers can craft a .nc file whose variable value is "__bool__" followed by a Python expression to execute code when users load it via load_data(), load_events(), or HEN* tools.

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.