CVE-2024-31458
Reported by github_m · Published May 13, 2024
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, some of the data stored in `form_save()` function in `graph_template_inputs.php` is not thoroughly checked and is used to concatenate the SQL statement in `draw_nontemplated_fields_graph_item()` function from `lib/html_form_templates.php` , finally resulting in SQL injection. Version 1.2.27 contains a patch for the issue.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| cacti | Alpine | 1.2.27-r0 |
| cacti | cacti | 1.2.27 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Cacti | cacti | < 1.2.27 |
| cacti | cacti | * |
| alpine | cacti | 0 |
| Cacti | cacti | 0 |
Timeline
- May 12, 2024 CVE Published
- May 14, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
- Jan 12, 2026 Security Advisory (6 in total, the first dated here)
- Aug 10, 2026 Distribution Patch
- Sep 20, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-31458
vulnetix vdb fixes CVE-2024-31458
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-31458/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart