Watson Knowledge Catalog on Cloud Pak for Data: Improper Neutralization of Formula Elements in a CSV File
CVE-2023-28958 is a high-severity improper neutralization of formula elements in a CSV file vulnerability in Watson Knowledge Catalog on Cloud Pak for Data from IBM, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. Affected Watson Knowledge Catalog on Cloud Pak for Data versions: 4.0. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.5% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Check which version of Watson Knowledge Catalog on Cloud Pak for Data you run against the affected versions below, and install the vendor's latest release.
- Read the advisory on exchange.xforce.ibmcloud.com for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| IBM | Watson Knowledge Catalog on Cloud Pak for Data | 4.0 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.0 | High | CNA (us.ibm.com) |
| CVSS 3.1 | 7.8 | High | NVD |
Official description
IBM Watson Knowledge Catalog on Cloud Pak for Data 4.0 is potentially vulnerable to CSV Injection. A remote attacker could execute arbitrary commands on the system, caused by improper validation of csv file contents. IBM X-Force ID: 251782.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Neutralization of Formula Elements in a CSV File
The product saves user-provided information into a Comma-Separated Value (CSV) file, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as a command when the file is opened by a spreadsheet product.
How developers prevent this class of flaw
- When generating CSV output, ensure that formula-sensitive metacharacters are effectively escaped or removed from all data before storage in the resultant CSV. Risky characters include '=' (equal), '+' (plus), '-' (minus), and '@' (at).
- If a field starts with a formula character, prepend it with a ' (single apostrophe), which prevents Excel from executing the formula.
- Certain implementations of spreadsheet software might disallow formulas from executing if the file is untrusted, or if the file is not authored by the current user.
More Improper Neutralization of Formula Elements in a CSV File vulnerabilities (CWE-1236)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Other vulnerabilities in Watson Knowledge Catalog on Cloud Pak for Data
- 9.8 Critical severity
Recent Improper Neutralization of Formula Elements in a CSV File vulnerabilities
- 7.8 High severity
- 8.8 High severity
- 7.8 High severity
- 7.3 High severity
- 8.8 High severity
- 8.8 High severity
Spotted an error? Tell us.