CVE-2023-2981: Github.com/pydio/cells Cross-Site Scripting Vulnerability
MODERATECVE-2023-2981 is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)) affecting Github.com/pydio/cells libraries in the Go ecosystem. The issue involves go package pydio cells vulnerable to cross-site scripting. Remediation is available by upgrading affected packages to version 4.2.1.
CVE-2023-2981 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2023-2981
To remediate this vulnerability, upgrade all affected Github.com/pydio/cells 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 github.com/pydio/cells to 4.2.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/pydio/cells
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-2981, inspect your project dependencies for Github.com/pydio/cells:
inspect dependencies for github.com/pydio/cells
Analyze the terminal output to locate any version of Github.com/pydio/cells in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.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-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS), where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages. In Github.com/pydio/cells, 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-2981 Affected Github.com/pydio/cells Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/pydio/cells
|
Go |
< 4.2.1
|
4.2.1
|
References
Frequently Asked Questions
What is CVE-2023-2981?
Which Github.com/pydio/cells versions are affected?
What version fixes CVE-2023-2981?
Is github.com/pydio/cells affected?
What is the CVSS score of CVE-2023-2981?
What CWE is associated with CVE-2023-2981?
How can I check Go dependencies for CVE-2023-2981?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wmfc-g86p-fjvr",
"modified" : "2023-11-15T18:10:04Z",
"published" : "2023-05-30T15:30:27Z",
"aliases" : [ "CVE-2023-2981" ],
"summary" : "go package pydio cells vulnerable to cross-site scripting ",
"details" : "A vulnerability, which was classified as problematic, has been found in Abstrium Pydio Cells 4.2.0. This issue affects some unknown processing of the component Chat. The manipulation leads to basic cross site scripting. The attack may be initiated remotely. Upgrading to version 4.2.1 is able to address this issue. It is recommended to upgrade the affected component. The identifier VDB-230213 was assigned to this vulnerability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/pydio/cells"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.2.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-2981"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pydio/cells"
}, {
"type" : "WEB",
"url" : "https://popalltheshells.medium.com/multiple-cves-affecting-pydio-cells-4-2-0-321e7e4712be"
}, {
"type" : "WEB",
"url" : "https://pydio.com/en/community/releases/pydio-cells/pydio-cells-enterprise-421"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.230213"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.230213"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-80" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-05-31T18:26:12Z",
"nvd_published_at" : "2023-05-30T15:15:09Z"
}
}