CVE-2023-42261: Withdrawn Advisory Mobile Security Framework (MobSF) Vulnerable Vulnerability
HIGHCVE-2023-42261 is a HIGH (CVSS 7.5) mobile security framework (mobsf) vulnerable vulnerability (CWE-276: Incorrect Default Permissions) affecting Withdrawn Advisory libraries in the PyPI ecosystem. The issue involves mobile security framework (mobsf) vulnerable to insecure permissions. Remediation is available by upgrading affected packages to version 3.9.7.
CVE-2023-42261 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2023-42261
To remediate this vulnerability, upgrade all affected Withdrawn Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install mobsf>=3.9.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show mobsf
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-42261, inspect your installed packages using pip:
pip show mobsf
Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.9.7), your application is affected.
Note: The pip show mobsf command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-276: Incorrect Default Permissions, where during installation, installed file permissions are set to allow anyone to modify those files. In Withdrawn Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-42261 Affected Withdrawn Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mobsf
|
PyPI |
< 3.9.7
|
3.9.7
|
References
Frequently Asked Questions
What is CVE-2023-42261?
Which Withdrawn Advisory versions are affected?
What version fixes CVE-2023-42261?
Is mobsf affected?
What is the CVSS score of CVE-2023-42261?
What CWE is associated with CVE-2023-42261?
How can I check PyPI dependencies for CVE-2023-42261?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cc8j-6phr-jv9x",
"modified" : "2025-04-10T14:29:56Z",
"published" : "2023-09-22T00:30:29Z",
"withdrawn" : "2025-04-10T14:29:56Z",
"aliases" : [ "CVE-2023-42261" ],
"summary" : "Withdrawn Advisory: Mobile Security Framework (MobSF) Vulnerable to Insecure Permissions",
"details" : "## Withdrawn Advisory\nThis advisory has been withdrawn because the vendor's position is that authentication is intentionally not implemented because the product is not intended for an untrusted network environment. Use cases requiring authentication could, for example, use a reverse proxy server.\n\n## Original Description\nMobile Security Framework (MobSF) <=v3.7.8 Beta is vulnerable to Insecure Permissions.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "mobsf"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.9.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-42261"
}, {
"type" : "WEB",
"url" : "https://github.com/MobSF/Mobile-Security-Framework-MobSF/issues/1211"
}, {
"type" : "WEB",
"url" : "https://github.com/MobSF/Mobile-Security-Framework-MobSF/issues/748"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/MobSF/Mobile-Security-Framework-MobSF"
}, {
"type" : "WEB",
"url" : "https://github.com/MobSF/Mobile-Security-Framework-MobSF/blob/abb47659a19ac772765934f184c65fe16cb3bee7/docker-compose.yml#L30-L31"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/mobsf/PYSEC-2023-310.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/woshinibaba222/hack16/blob/main/Unauthorized%20Access%20to%20MobSF.md"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-276" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-10T14:27:17Z",
"nvd_published_at" : "2023-09-21T22:15:11Z"
}
}