CVE-2022-1544: Luyadev/yii helpers Improper Neutralization Of Formula Elements Vulnerability
HIGHCVE-2022-1544 is a HIGH (CVSS 7.8) improper neutralization of formula elements vulnerability (CWE-1236: Improper Neutralization of Formula Elements in a CSV File) affecting Luyadev/yii helpers libraries in the Packagist ecosystem. The issue involves improper neutralization of formula elements in yii-helpers. Remediation is available by upgrading affected packages to version 1.2.1.
CVE-2022-1544 at a Glance
Security Impact
CVSS: 7.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2022-1544
To remediate this vulnerability, upgrade all affected Luyadev/yii helpers dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade luyadev/yii-helpers to 1.2.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for luyadev/yii-helpers
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-1544, inspect your project dependencies for Luyadev/yii helpers:
inspect dependencies for luyadev/yii-helpers
Analyze the terminal output to locate any version of Luyadev/yii helpers in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1236: Improper Neutralization of Formula Elements in a CSV File, where 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. In Luyadev/yii helpers, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-1544 Affected Luyadev/yii helpers Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
luyadev/yii-helpers
|
Packagist |
< 1.2.1
|
1.2.1
|
References
Frequently Asked Questions
What is CVE-2022-1544?
Which Luyadev/yii helpers versions are affected?
What version fixes CVE-2022-1544?
Is luyadev/yii-helpers affected?
What is the CVSS score of CVE-2022-1544?
What CWE is associated with CVE-2022-1544?
How can I check Packagist dependencies for CVE-2022-1544?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f9p3-h6cg-2cjr",
"modified" : "2022-05-26T19:49:49Z",
"published" : "2022-05-03T00:00:46Z",
"aliases" : [ "CVE-2022-1544" ],
"summary" : "Improper neutralization of formula elements in yii-helpers",
"details" : "Formula Injection/CSV Injection due to Improper Neutralization of Formula Elements in CSV File in GitHub repository luyadev/yii-helpers prior to 1.2.1. Successful exploitation can lead to impacts such as client-sided command injection, code execution, or remote ex-filtration of contained confidential data.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "luyadev/yii-helpers"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-1544"
}, {
"type" : "WEB",
"url" : "https://github.com/luyadev/yii-helpers/commit/9956ed63f516110c2b588471507b870e748c4cfb"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/luyadev/yii-helpers"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/fa6d6e75-bc7a-40f6-9bdd-2541318912d4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1236" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-05-04T03:01:04Z",
"nvd_published_at" : "2022-05-01T12:15:00Z"
}
}