{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-7822 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-7822 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-7822 is a medium-severity vulnerability in SoMachine Basic and Modicon M221, SoMachine Basic, all versions Modicon M221, all references, all versions prior to firmware V1.10.0.0, published on 22 May 2019. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-7822 and fix it if it is affected.\n\nWhat it is: CVE-2018-7822 is a medium-severity vulnerability in SoMachine Basic and Modicon M221, SoMachine Basic, all versions Modicon M221, all references, all versions prior to firmware V1.10.0.0, published on 22 May 2019. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-7822 in the wild and no public exploit code.\n\nAffected product: SoMachine Basic and Modicon M221, SoMachine Basic, all versions Modicon M221, all references, all versions prior to firmware V1.10.0.0. 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-2018-7822/ (Markdown: https://insights.sbomify.com/CVE-2018-7822/index.md)","id":"CVE-2018-7822","markdown":"https://insights.sbomify.com/CVE-2018-7822/index.md","name":"CVE-2018-7822","record":{"aliases":["GHSA-652g-fx4g-24jw"],"analysis":{"component_type":"ics_ot","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"PLC programming software","requires_auth":"low_privilege","summary":"Incorrect default permissions allow unauthorized local users to access SoMachine Basic resource files, potentially exposing sensitive configuration data.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"schneider","cpe":[{"product":"modicon_m221_firmware","vendor":"schneider-electric"},{"product":"somachine_basic","vendor":"schneider-electric"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"description":"An Incorrect Default Permissions (CWE-276) vulnerability exists in SoMachine Basic, all versions, and Modicon M221(all references, all versions prior to firmware V1.10.0.0) which could cause unauthorized access to SoMachine Basic resource files when logged on the system hosting SoMachine Basic.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Misconfiguration in SoMachine Basic and Modicon M221, SoMachine Basic, all versions Modicon M221, all references, all versions prior to firmware V1.10.0.0","id":"CVE-2018-7822","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"misconfiguration","year":"2018"},"n_packages":0,"n_references":1,"next":{"headline":"Other in SoMachine Basic and Modicon M221, SoMachine Basic, all versions Modicon M221, all references, all versions prior to firmware V1.10.0.0","id":"CVE-2018-7823"},"packages":[],"prev":{"headline":"Denial of service in SoMachine Basic and Modicon M221, SoMachine Basic, all versions Modicon M221, all references, all versions prior to firmware V1.10.0.0","id":"CVE-2018-7821"},"products":["SoMachine Basic and Modicon M221, SoMachine Basic, all versions Modicon M221, all references, all versions prior to firmware V1.10.0.0"],"published":"2019-05-22","related":[{"cvss_score":9.8,"headline":"Weak cryptography in Modicon M221 (all references, all versions)","id":"CVE-2020-28214","kev_date_added":null,"published":"2020-12-11"},{"cvss_score":9.8,"headline":"Auth bypass in Modicon M221, all references, all versions prior to firmware V1.6.2.0","id":"CVE-2018-7790","kev_date_added":null,"published":"2018-08-29"},{"cvss_score":9.8,"headline":"Auth bypass in Modicon M221, all references, all versions prior to firmware V1.6.2.0","id":"CVE-2018-7791","kev_date_added":null,"published":"2018-08-29"},{"cvss_score":7.5,"headline":"Denial of service in SoMachine Basic and Modicon M221, SoMachine Basic, all versions Modicon M221, all references, all versions prior to firmware V1.10.0.0","id":"CVE-2018-7821","kev_date_added":null,"published":"2019-05-22"},{"cvss_score":7.5,"headline":"Weak cryptography in Modicon M221, all references, all versions prior to firmware V1.6.2.0","id":"CVE-2018-7792","kev_date_added":null,"published":"2018-08-29"},{"cvss_score":7.1,"headline":"Weak cryptography in Modicon M221, all references, all versions","id":"CVE-2020-7565","kev_date_added":null,"published":"2020-11-19"},{"cvss_score":7.1,"headline":"Weak cryptography in Modicon M221, all references, all versions","id":"CVE-2020-7566","kev_date_added":null,"published":"2020-11-19"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Incorrect default permissions allow unauthorized local users to access SoMachine Basic resource files, potentially exposing sensitive configuration data.","url":"https://insights.sbomify.com/CVE-2018-7822/"}