{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-3976 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-3976 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-3976 is a medium-severity vulnerability in MZ Automation libiec61850, published on 13 Nov 2022."},"fix_prompt":"Check this codebase for CVE-2022-3976 and fix it if it is affected.\n\nWhat it is: CVE-2022-3976 is a medium-severity vulnerability in MZ Automation libiec61850, published on 13 Nov 2022. \nExploitation: There is no known exploitation of CVE-2022-3976 in the wild and no public exploit code.\n\nAffected product: MZ Automation libiec61850. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-3976/ (Markdown: https://insights.sbomify.com/CVE-2022-3976/index.md)","id":"CVE-2022-3976","markdown":"https://insights.sbomify.com/CVE-2022-3976/index.md","name":"CVE-2022-3976","record":{"aliases":["GHSA-r8h4-q53x-8w2p"],"analysis":null,"analysis_generated_by":null,"assigner":"VulDB","cpe":[{"product":"libiec61850","vendor":"mz-automation"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A vulnerability has been found in MZ Automation libiec61850 up to 1.4 and classified as critical. This vulnerability affects unknown code of the file src/mms/iso_mms/client/mms_client_files.c of the component MMS File Services. The manipulation of the argument filename leads to path traversal. Upgrading to version 1.5 is able to address this issue. The name of the patch is 10622ba36bb3910c151348f1569f039ecdd8786f. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-213556.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"MZ Automation libiec61850 MMS File Services mms_client_files.c path traversal","id":"CVE-2022-3976","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Use after free in Kernel","id":"CVE-2022-3977"},"packages":[],"prev":{"headline":"NukeViet CMS Data URL Request.php filterAttr cross site scripting","id":"CVE-2022-3975"},"products":["libiec61850"],"published":"2022-11-13","related":[{"cvss_score":10,"headline":"MZ Automation libIEC61850 Stack-Based Buffer Overflow","id":"CVE-2022-2970","kev_date_added":null,"published":"2022-09-23"},{"cvss_score":10,"headline":"MZ Automation libIEC61850 Stack-Based Buffer Overflow","id":"CVE-2022-2972","kev_date_added":null,"published":"2022-09-23"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2024-45970","kev_date_added":null,"published":"2024-11-15"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2024-45971","kev_date_added":null,"published":"2024-11-15"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2018-19185","kev_date_added":null,"published":"2018-11-12"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2018-18957","kev_date_added":null,"published":"2018-11-05"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2018-18834","kev_date_added":null,"published":"2018-10-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-15","vendors":["MZ Automation"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2022-3976/"}