CVE-2022-29254: Silverstripe/silverstripe omnipay Failed Payment Recorded Has Completed Vulnerability
LOWCVE-2022-29254 is a LOW (CVSS 3.7) failed payment recorded has completed vulnerability (CWE-436: Interpretation Conflict) affecting Silverstripe/silverstripe omnipay libraries in the Packagist ecosystem. The issue involves failed payment recorded has completed in silverstripe omnipay. Remediation is available by upgrading affected packages to version 2.5.2, 3.0.2, 3.1.4, 3.2.1.
CVE-2022-29254 at a Glance
Security Impact
CVSS: 3.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2022-29254
To remediate this vulnerability, upgrade all affected Silverstripe/silverstripe omnipay 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 silverstripe/silverstripe-omnipay to 2.5.2
Upgrade silverstripe/silverstripe-omnipay to 3.0.2
Upgrade silverstripe/silverstripe-omnipay to 3.1.4
Upgrade silverstripe/silverstripe-omnipay to 3.2.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for silverstripe/silverstripe-omnipay
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-29254, inspect your project dependencies for Silverstripe/silverstripe omnipay:
inspect dependencies for silverstripe/silverstripe-omnipay
Analyze the terminal output to locate any version of Silverstripe/silverstripe omnipay in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.5.2), 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-436: Interpretation Conflict, where product a handles inputs or steps differently than product b, which causes a to perform incorrect actions based on its perception of b's state. In Silverstripe/silverstripe omnipay, 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-29254 Affected Silverstripe/silverstripe omnipay Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
silverstripe/silverstripe-omnipay
|
Packagist |
< 2.5.2
|
2.5.2
|
|
silverstripe/silverstripe-omnipay
|
Packagist |
≥ 3.0.0
< 3.0.2
|
3.0.2
|
|
silverstripe/silverstripe-omnipay
|
Packagist |
≥ 3.1.0
< 3.1.4
|
3.1.4
|
|
silverstripe/silverstripe-omnipay
|
Packagist |
≥ 3.2.0
< 3.2.1
|
3.2.1
|
References
Frequently Asked Questions
What is CVE-2022-29254?
Which Silverstripe/silverstripe omnipay versions are affected?
What version fixes CVE-2022-29254?
Is silverstripe/silverstripe-omnipay affected?
What is the CVSS score of CVE-2022-29254?
What CWE is associated with CVE-2022-29254?
How can I check Packagist dependencies for CVE-2022-29254?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-48f2-m7jg-866x",
"modified" : "2022-06-06T21:24:39Z",
"published" : "2022-06-06T21:24:39Z",
"aliases" : [ "CVE-2022-29254" ],
"summary" : "Failed payment recorded has completed in Silverstripe Omnipay",
"details" : "### Impact\nFor a subset of Omnipay gateways (those that use intermediary states like `isNotification()` or `isRedirect()`), if the payment identifier or success URL is exposed it is possible for payments to be prematurely marked as completed without payment being taken. This is mitigated by the fact that most payment gateways hide this information from users, however some issuing banks offer flawed 3DSecure implementations that may inadvertently expose this data.\n\n### Patches\nThe following versions have been patched to fix this issue:\n\n- `2.5.2`\n- `3.0.2`\n- `3.1.4`\n- `3.2.1`\n\n### Workarounds\nThere are no known workarounds for this vulnerability.\n\n### References\nN/A.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [security@silverstripe.org](mailto:security@silverstripe.org)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/silverstripe-omnipay"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.5.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/silverstripe-omnipay"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/silverstripe-omnipay"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/silverstripe-omnipay"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.2.0"
}, {
"fixed" : "3.2.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-omnipay/security/advisories/GHSA-48f2-m7jg-866x"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-29254"
}, {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-omnipay/commit/7dee9a1e0a5f54c2dc06e018cff3d9a19044e01b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/silverstripe/silverstripe-omnipay"
}, {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-omnipay/releases/tag/2.5.2"
}, {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-omnipay/releases/tag/3.0.2"
}, {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-omnipay/releases/tag/3.1.4"
}, {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-omnipay/releases/tag/3.2.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-436", "CWE-437" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-06T21:24:39Z",
"nvd_published_at" : "2022-06-09T07:15:00Z"
}
}