CVE-2023-4157: Omeka/omeka s Omeka/omeka-s Improper Input Validation Vulnerability Vulnerability
MODERATECVE-2023-4157 is a MODERATE (CVSS 5.2) omeka/omeka-s improper input validation vulnerability vulnerability (CWE-20: Improper Input Validation) affecting Omeka/omeka s libraries in the Packagist ecosystem. The issue involves omeka/omeka-s improper input validation vulnerability. Remediation is available by upgrading affected packages to version 4.0.3.
CVE-2023-4157 at a Glance
Security Impact
CVSS: 5.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N).
How to Fix CVE-2023-4157
To remediate this vulnerability, upgrade all affected Omeka/omeka s 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 omeka/omeka-s to 4.0.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for omeka/omeka-s
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-4157, inspect your project dependencies for Omeka/omeka s:
inspect dependencies for omeka/omeka-s
Analyze the terminal output to locate any version of Omeka/omeka s in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.3), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Omeka/omeka s, 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-2023-4157 Affected Omeka/omeka s Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
omeka/omeka-s
|
Packagist |
< 4.0.3
|
4.0.3
|
References
Frequently Asked Questions
What is CVE-2023-4157?
Which Omeka/omeka s versions are affected?
What version fixes CVE-2023-4157?
Is omeka/omeka-s affected?
What is the CVSS score of CVE-2023-4157?
What CWE is associated with CVE-2023-4157?
How can I check Packagist dependencies for CVE-2023-4157?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fxc5-pr68-2px3",
"modified" : "2023-10-24T02:46:18Z",
"published" : "2023-08-04T18:30:39Z",
"aliases" : [ "CVE-2023-4157" ],
"summary" : "omeka/omeka-s Improper Input Validation vulnerability",
"details" : "Improper Input Validation in GitHub repository omeka/omeka-s prior to 4.0.3.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "omeka/omeka-s"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.0.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-4157"
}, {
"type" : "WEB",
"url" : "https://github.com/omeka/omeka-s/commit/8b72619d9731b32dd21ab6dcaa01ccc3bbf0db63"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/omeka/omeka-s"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/abc3521b-1238-4c4e-97f1-2957db670014"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-74" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-24T02:46:18Z",
"nvd_published_at" : "2023-08-04T18:15:17Z"
}
}