{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2019-6821 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2019-6821 yet. Limit exposure of the affected software until one is available.","what":"CVE-2019-6821 is a medium-severity vulnerability in Modicon Controllers, Modicon M580 firmware versions prior to V2.30, and all firmware versions of Modicon M340, Modicon Premium, Modicon Quantum, published on 22 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-6821 and fix it if it is affected.\n\nWhat it is: CVE-2019-6821 is a medium-severity vulnerability in Modicon Controllers, Modicon M580 firmware versions prior to V2.30, and all firmware versions of Modicon M340, Modicon Premium, Modicon Quantum, published on 22 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-6821 in the wild and no public exploit code.\n\nAffected product: Modicon Controllers, Modicon M580 firmware versions prior to V2.30, and all firmware versions of Modicon M340, Modicon Premium, Modicon Quantum. 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-2019-6821/ (Markdown: https://insights.sbomify.com/CVE-2019-6821/index.md)","id":"CVE-2019-6821","markdown":"https://insights.sbomify.com/CVE-2019-6821/index.md","name":"CVE-2019-6821","record":{"aliases":["GHSA-pr9h-xjrf-gjcr"],"analysis":{"component_type":"ics_ot","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Modicon PLC firmware","requires_auth":"none","summary":"Insufficiently random values in Modicon PLC firmware allow attackers to hijack TCP connections via Ethernet communication.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"schneider","cpe":[{"product":"modicon_m340_firmware","vendor":"schneider-electric"},{"product":"modicon_m580_firmware","vendor":"schneider-electric"},{"product":"modicon_premium_firmware","vendor":"schneider-electric"},{"product":"modicon_quantum_firmware","vendor":"schneider-electric"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"description":"CWE-330: Use of Insufficiently Random Values vulnerability, which could cause the hijacking of the TCP connection when using Ethernet communication in Modicon M580 firmware versions prior to V2.30, and all firmware versions of Modicon M340, Modicon Premium, Modicon Quantum.","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":"Weak cryptography in Modicon Controllers, Modicon M580 firmware versions prior to V2.30, and all firmware versions of Modicon M340, Modicon Premium, Modicon Quantum","id":"CVE-2019-6821","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2019"},"n_packages":0,"n_references":3,"next":{"headline":"Use after free in Zelio Soft 2 V5.2 and prior","id":"CVE-2019-6822"},"packages":[],"prev":{"headline":"Missing authorization in Modicon and PacDrive Controller, All versions of: Modicon M100, Modicon M200, Modicon M221, ATV IMC drive controller, Modicon M241, Modicon M251, Modicon M258, Modicon LMC058, Modicon LMC078, PacDrive Eco ,PacDrive Pro, PacDrive Pro2","id":"CVE-2019-6820"},"products":["Modicon Controllers, Modicon M580 firmware versions prior to V2.30, and all firmware versions of Modicon M340, Modicon Premium, Modicon Quantum"],"published":"2019-05-22","related":[{"cvss_score":9.8,"headline":"Auth bypass in Modicon M580 Modicon M340 Modicon Quantum Modicon Premium","id":"CVE-2018-7842","kev_date_added":null,"published":"2019-05-22"},{"cvss_score":9.8,"headline":"Auth bypass in Modicon M580 Modicon M340 Modicon Quantum Modicon Premium","id":"CVE-2018-7846","kev_date_added":null,"published":"2019-05-22"},{"cvss_score":9.8,"headline":"Missing authorization in Modicon M580 Modicon M340 Modicon Quantum Modicon Premium","id":"CVE-2018-7847","kev_date_added":null,"published":"2019-05-22"},{"cvss_score":9.8,"headline":"Missing authorization in Modicon M580 Modicon M340 Modicon Quantum Modicon Premium","id":"CVE-2019-6808","kev_date_added":null,"published":"2019-05-22"},{"cvss_score":7.5,"headline":"Information disclosure in Modicon M580, Modicon M340, Modicon Premium , Modicon Quantum (all firmware versions)","id":"CVE-2019-6845","kev_date_added":null,"published":"2019-10-29"},{"cvss_score":7.5,"headline":"Information disclosure in Modicon M580, Modicon M340, Modicon Premium , Modicon Quantum (all firmware versions)","id":"CVE-2019-6851","kev_date_added":null,"published":"2019-10-29"},{"cvss_score":7.5,"headline":"Denial of service in Modicon M340","id":"CVE-2019-6809","kev_date_added":null,"published":"2019-09-17"}],"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-04","vendors":["n/a"]},"summary":"Insufficiently random values in Modicon PLC firmware allow attackers to hijack TCP connections via Ethernet communication.","url":"https://insights.sbomify.com/CVE-2019-6821/"}