CVE-2022-41547
Python vulnerability analysis and mitigation

Overview

Mobile Security Framework (MobSF) v0.9.2 and below was discovered to contain a local file inclusion (LFI) vulnerability in the StaticAnalyzer/views.py component. The vulnerability was discovered on October 18, 2022, and affects the ViewSource function. This vulnerability allows attackers to read arbitrary files via a crafted HTTP request (NVD).

Technical details

The vulnerability exists due to insufficient validation of the 'md5' parameter in the ViewSource function. An attacker could bypass the MD5 validation by using an actual MD5 string at the head of the request followed by a null-byte and directory traversal sequence. The issue stems from the regex pattern '[0-9a-f]{32}' which was not properly bounded, allowing path traversal attacks (GitHub PR).

Impact

The vulnerability allows attackers to read arbitrary files on the system through path traversal. For example, on macOS systems, attackers could read sensitive files like /private/etc/passwd, potentially exposing system configuration and user information (GitHub PR).

Mitigation and workarounds

The vulnerability was fixed by implementing strict boundary checks on the MD5 regex pattern, changing it from '[0-9a-f]{32}' to '^[0-9a-f]{32}$'. Users should upgrade to versions newer than v0.9.2 to receive the security fix (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 11, 2025
CVE-2025-13780CRITICAL9.1
  • PythonPython
  • cpe:2.3:a:pgadmin:pgadmin
NoYesDec 11, 2025
CVE-2025-67644HIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 11, 2025
CVE-2025-67720MEDIUM6.5
  • PythonPython
  • pyrofork
NoYesDec 11, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management