{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-22524 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-22524 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-22524 is a critical SQL injection vulnerability in Carlo Gavazzi CPY Car Park Server, published on 28 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-22524 and fix it if it is affected.\n\nWhat it is: CVE-2022-22524 is a critical SQL injection vulnerability in Carlo Gavazzi CPY Car Park Server, published on 28 Sep 2022. 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-2022-22524 in the wild and no public exploit code.\n\nAffected product: Carlo Gavazzi CPY Car Park Server. 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-22524/ (Markdown: https://insights.sbomify.com/CVE-2022-22524/index.md)","id":"CVE-2022-22524","markdown":"https://insights.sbomify.com/CVE-2022-22524/index.md","name":"CVE-2022-22524","record":{"aliases":["GHSA-wjp6-jx63-6237"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Carlo Gavazzi UWP","requires_auth":"none","summary":"Unauthenticated remote attackers can exploit SQL injection to access databases, modify users, and stop services in Carlo Gavazzi UWP and CPY Car Park Server.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CERTVDE","cpe":[{"product":"cpy_car_park_server","vendor":"gavazziautomation"},{"product":"uwp_3.0_monitoring_gateway_and_controller_firmware","vendor":"gavazziautomation"}],"cvss":{"score":9.4,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"In Carlo Gavazzi UWP3.0 in multiple versions and CPY Car Park Server in Version 2.8.3 an unauthenticated remote attacker could utilize a SQL-Injection vulnerability to gain full database access, modify users and stop services .","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":"SQL-injection in Carlo Gavazzi UWP 3.0 allows for full database access","id":"CVE-2022-22524","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Command injection in restore function of Carlo Gavazzi UWP3.0 allows for command injection","id":"CVE-2022-22525"},"packages":[],"prev":{"headline":"Carlo Gavazzi UWP 3.0 WebApp allows for authentication bypass","id":"CVE-2022-22523"},"products":["CPY Car Park Server","UWP 3.0 Monitoring Gateway and Controller","UWP 3.0 Monitoring Gateway and Controller – EDP version","UWP 3.0 Monitoring Gateway and Controller – Security Enhanced"],"published":"2022-09-28","related":[{"cvss_score":9.8,"headline":"Hard-coded credentials in Carlo Gavazzi UWP3.0 allows for authentication bypass and full control of the device","id":"CVE-2022-22522","kev_date_added":null,"published":"2022-09-28"},{"cvss_score":9.8,"headline":"Missing authentication for API in Carlo Gavazzi UWP 3.0 Car Park Server","id":"CVE-2022-22526","kev_date_added":null,"published":"2022-09-28"},{"cvss_score":9.8,"headline":"Possible command injection in Car Park Server in Carlo Gavazzi UWP3.0","id":"CVE-2022-28811","kev_date_added":null,"published":"2022-09-28"},{"cvss_score":9.8,"headline":"Use of Hard-coded Credentials in UWP3.0 allows SuperUser authentication bypass in Car Park Server.","id":"CVE-2022-28812","kev_date_added":null,"published":"2022-09-28"},{"cvss_score":9.8,"headline":"Path traversal in Carlo Gavazzi UWP 3.0 could lead to full device access","id":"CVE-2022-28814","kev_date_added":null,"published":"2022-09-28"},{"cvss_score":7.5,"headline":"Carlo Gavazzi UWP 3.0 WebApp allows for authentication bypass","id":"CVE-2022-22523","kev_date_added":null,"published":"2022-09-28"}],"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-21","vendors":["Carlo Gavazzi"]},"summary":"Unauthenticated remote attackers can exploit SQL injection to access databases, modify users, and stop services in Carlo Gavazzi UWP and CPY Car Park Server.","url":"https://insights.sbomify.com/CVE-2022-22524/"}