Advisories

PyMoDAQ before 5.3.10 Arbitrary Code Execution via Crafted HDF5, Dock Layout, and XML Settings Files

Go back
Severity
high
Date
Affecting
  • PyMoDAQ >= 0, < 4.4.13

  • pymodaq_data >= 0, < 5.1.15

  • pymodaq_data >= 5.2.0, < 5.2.14

  • pymodaq_data >= 5.3.0, < 5.3.10

  • pymodaq_gui >= 0, < 5.1.15

  • pymodaq_gui >= 5.2.0, < 5.2.14

  • pymodaq_gui >= 5.3.0, < 5.3.10

  • pymodaq_utils >= 0, < 5.1.15

  • pymodaq_utils >= 5.2.0, < 5.2.14

  • pymodaq_utils >= 5.3.0, < 5.3.10

CWE
  • CWE-502 Deserialization of Untrusted Data
  • 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)
Description
PyMoDAQ before 4.4.13, and pymodaq_data, pymodaq_gui, and pymodaq_utils before 5.1.15, 5.2.x before 5.2.14, and 5.3.x before 5.3.10, contain deserialization of untrusted data and eval injection vulnerabilities that allow attackers to execute arbitrary code by supplying crafted files that a user opens. Attackers can store pickled objects in HDF5 string nodes that StringARRAY.array_to_string() passes to pickle.loads() when the node is browsed or read, place Python expressions in HDF5 attributes that JsonConverter.json2object() evaluates, supply a .dock file that load_layout_state() unpickles from the Dashboard Load layout action, or embed Python expressions in XML settings files that elt_to_dict() and set_txt_from_elt() evaluate.

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.