CVE-2023-30628: PYSEC-2023-273 - Kiwi TCMS is an open source test management system. In kiwitcms/Kiwi v12.2 and prior and…

CVE-2023-30628 · Severity: low · CVSS 3.1 · Published 2023-04-24

Kiwi TCMS is an open source test management system. In kiwitcms/Kiwi v12.2 and prior and kiwitcms/enterprise v12.2 and prior, the `changelog.yml` workflow is vulnerable to command injection attacks because of using an untrusted `github.head_ref` field. The `github.head_ref` value is an attacker-controlled value. Assigning the value to `zzz";echo${IFS}"hello";#` can lead to command injection. Since the permission is not restricted, the attacker has a write-access to the repository. Commit 834c86dfd1b2492ccad7ebbfd6304bfec895fed2 of the kiwitcms/Kiwi repository and commit e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751 of the kiwitcms/enterprise repository contain a fix for this issue.

Technologies: kiwitcms (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2023-30628 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2023-30628 being exploited in the wild.
How severe is CVE-2023-30628?
Low severity, with a CVSS score of 3.1, published 24 April 2023.
Which products and versions are affected?
kiwitcms (PyPI) GIT:introduced=0,fixed=e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751|GIT:introduced=0,fixed=834c86dfd1b2492ccad7ebbfd6304bfec895fed2|ECOSYSTEM:introduced=0,fixed=12.3.
Is there a fix for CVE-2023-30628?
Yes. kiwitcms (PyPI): upgrade to 12.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2023-30628?
Check whether you run kiwitcms (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • kiwitcms (PyPI): upgrade to 12.3 or later
    pip install "kiwitcms>=12.3"

Affected products

  • kiwitcms (PyPI) GIT:introduced=0,fixed=e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751|GIT:introduced=0,fixed=834c86dfd1b2492ccad7ebbfd6304bfec895fed2|ECOSYSTEM:introduced=0,fixed=12.3

Identifiers

  • CVE-2023-30628
  • PYSEC-2023-273

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.