Description
mstdlib (aka the M Standard Library for C) 1.2.0 has incorrect file access control in situations where M_fs_perms_can_access attempts to delete an existing file (that lacks public read/write access) during a copy operation, related to fs/m_fs.c and fs/m_fs_path.c. An attacker could create the file and then would have access to the data.
References (2)
Core 2
Core References
Third Party Advisory x_refsource_confirm
https://github.com/Monetra/mstdlib/issues/2
Patch, Third Party Advisory x_refsource_confirm
https://github.com/Monetra/mstdlib/commit/db124b8f607dd0a40a9aef2d4d468fad433522a7
Scores
CVSS v3
9.8
EPSS
0.0034
EPSS Percentile
57.0%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-732
Status
published
Products (1)
monetra/mstdlib
1.2.0
Published
Jul 13, 2018
Tracked Since
Feb 18, 2026