{"answers":{"affected":"7 open source packages ship an affected version, including arches. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-41892 in the wild and no public exploit code.","fix":"Upgrade arches to a fixed version for your release line: 6.1.2, 6.2.1 or 7.2.0.","what":"CVE-2022-41892 is a high-severity SQL injection vulnerability in archesproject arches, published on 11 Nov 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-41892 and fix it if it is affected.\n\nWhat it is: CVE-2022-41892 is a high-severity SQL injection vulnerability in archesproject arches, published on 11 Nov 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-41892 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- arches (PyPI): affected all versions; fixed in 6.1.2\n- arches (PyPI): affected all versions; fixed in 6.1.2\n- arches (PyPI): affected all versions; fixed in 6.1.2\n- arches (PyPI): affected from 6.2.0; fixed in 6.2.1\n- arches (PyPI): affected from 6.2.0; fixed in 6.2.1\n- arches (PyPI): affected from 7.0.0; fixed in 7.2.0\n- arches (PyPI): affected from 7.0.0; fixed in 7.2.0\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-41892/ (Markdown: https://insights.sbomify.com/CVE-2022-41892/index.md)","id":"CVE-2022-41892","markdown":"https://insights.sbomify.com/CVE-2022-41892/index.md","name":"CVE-2022-41892","record":{"aliases":["GHSA-gmpq-xrxj-xh8m","PYSEC-2022-42985"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Geospatial data platform","requires_auth":"none","summary":"Attackers can execute arbitrary SQL statements via crafted web requests, potentially reading or modifying database contents in Arches.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"arches","vendor":"archesproject"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"Arches is a web platform for creating, managing, \u0026 visualizing geospatial data. Versions prior to 6.1.2, 6.2.1, and 7.1.2 are vulnerable to SQL Injection. With a carefully crafted web request, it's possible to execute certain unwanted sql statements against the database. This issue is fixed in version 7.12, 6.2.1, and 6.1.2. Users are recommended to upgrade as soon as possible. There are no workarounds.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Arches vulnerable to SQL Injection","id":"CVE-2022-41892","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"sql_injection","year":"2022"},"n_packages":7,"n_references":1,"next":{"headline":"`CHECK_EQ` fail in `tf.raw_ops.TensorListResize` in Tensorflow","id":"CVE-2022-41893"},"packages":[{"ecosystem":"PyPI","fixed":["6.1.2"],"introduced":["0"],"last_affected":[],"package":"arches","purl":null,"source":"GHSA-gmpq-xrxj-xh8m"},{"ecosystem":"PyPI","fixed":["6.1.2"],"introduced":["0"],"last_affected":[],"package":"arches","purl":"pkg:pypi/arches","source":"GHSA-gmpq-xrxj-xh8m"},{"ecosystem":"PyPI","fixed":["6.1.2"],"introduced":["0"],"last_affected":[],"package":"arches","purl":"pkg:pypi/arches","source":"PYSEC-2022-42985"},{"ecosystem":"PyPI","fixed":["6.2.1"],"introduced":["6.2.0"],"last_affected":[],"package":"arches","purl":null,"source":"GHSA-gmpq-xrxj-xh8m"},{"ecosystem":"PyPI","fixed":["6.2.1"],"introduced":["6.2.0"],"last_affected":[],"package":"arches","purl":"pkg:pypi/arches","source":"GHSA-gmpq-xrxj-xh8m"},{"ecosystem":"PyPI","fixed":["7.2.0"],"introduced":["7.0.0"],"last_affected":[],"package":"arches","purl":null,"source":"GHSA-gmpq-xrxj-xh8m"},{"ecosystem":"PyPI","fixed":["7.2.0"],"introduced":["7.0.0"],"last_affected":[],"package":"arches","purl":"pkg:pypi/arches","source":"GHSA-gmpq-xrxj-xh8m"}],"prev":{"headline":"Segfault in `tf.raw_ops.TensorListConcat` in Tensorflow","id":"CVE-2022-41891"},"products":["arches"],"published":"2022-11-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["archesproject"]},"summary":"Attackers can execute arbitrary SQL statements via crafted web requests, potentially reading or modifying database contents in Arches.","url":"https://insights.sbomify.com/CVE-2022-41892/"}