Description
IBM Langflow OSS 1.0.0 through 1.13.0 logging component is intended to mask credential values before application and request events are written to logs. The masking logic only inspected named fields and did not inspect credentials included in text values such as request URLs and query strings. When a client sent an API key in the query string of a request, the key was written to the server and access logs in clear text. An attacker with read access to these logs could obtain the key and could use it to access the application with the privileges of the key owner.
Vendor solution
IBM strongly recommends addressing these vulnerabilities now by upgrading Langflow OSS installations to Langflow OSS 1.13.1.
Review the Langflow OSS 1.13.1 release notes https://github.com/langflow-ai/langflow/releases/tag/v1.13.1 and follow the installation instructions for your deployment:
* Python package: install Langflow 1.13.1 from PyPI https://pypi.org/project/langflow/1.13.1/ with pip install --upgrade "langflow==1.13.1", following the installation instructions https://docs.langflow.org/get-started-installation .
* Docker: use langflowai/langflow:1.13.1 and follow the Docker upgrade instructions https://docs.langflow.org/deployment-docker#upgrade-the-langflow-docker-image to pull the image and restart the deployment while preserving its persistent data.
Some of these issues were first addressed in earlier Langflow OSS releases (1.11.2, 1.12.6, 1.12.7, and 1.13.0); those corrections are included in Langflow OSS 1.13.1.
Before upgrading, back up the database, secret key, and uploaded files. If the deployment uses automatic login, prepare the existing account for password sign-in as described in the installation and Docker upgrade instructions. These preparation steps accompany the product upgrade; no separate interim workaround is provided.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- None
- Availability
- None
Weakness type (CWE)
- CWE-532 Insertion of Sensitive Information into Log File
References
- www.ibm.com/support/pages/node/7297616 vendor advisory
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.