Advisory

GHSA-gmpq-xrxj-xh8m

Also known as: CVE-2022-41892, PYSEC-2022-42985

Summary

Arches vulnerable to execution of arbitrary SQL

Details

Impact
With a carefully crafted web request, it's possible to execute certain unwanted sql statements against the database.
Anyone running the impacted versions (<=6.1.1, 6.2.0, >=7.0.0, <=7.1.1) should upgrade as soon as possible.

Patches
The problem has been patched in the following versions: 6.1.2, 6.2.1, and 7.2.0
Users are strongly urged to upgrade to the most recent relevant patch.

Workarounds
There are no workarounds.

General References
https://www.w3schools.com/sql/sql_injection.asp
https://en.wikipedia.org/wiki/SQL_injection

For more information
Post any questions to the Arches project forum.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-11-11 00:05 UTC
Modified
2025-02-17 05:28 UTC

Affected packages and fixes

arches

PyPI · All systems

Affected

  • introduced 0, fixed 6.1.2 (ecosystem)

Fixed versions

6.1.2

Fix

  • Fixed version 6.1.2
    pip install --upgrade arches==6.1.2

arches

PyPI · All systems

Affected

  • introduced 6.2.0, fixed 6.2.1 (ecosystem)

Fixed versions

6.2.1

Fix

  • Fixed version 6.2.1
    pip install --upgrade arches==6.2.1

arches

PyPI · All systems

Affected

  • introduced 7.0.0, fixed 7.2.0 (ecosystem)

Fixed versions

7.2.0

Fix

  • Fixed version 7.2.0
    pip install --upgrade arches==7.2.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences