Lucene search

K
githubGitHub Advisory DatabaseGHSA-7XR2-8FF7-6FJQ
HistoryJul 14, 2023 - 9:59 p.m.

zenstruck/collection passing callable string to EntityRepository::find() and query()

2023-07-1421:59:13
CWE-74
GitHub Advisory Database
github.com
12
security impact
code execution
patch
workaround
reference.

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS

0.002

Percentile

52.1%

Impact

Passing callable strings (ie system) caused the function to be executed.

Patches

Fixed in v0.2.1.

Workarounds

Do not allow passing user strings to EntityRepository::find() or query().

References

Fix commit.

Affected configurations

Vulners
Node
zenstruckcollectionRange<0.2.1
VendorProductVersionCPE
zenstruckcollection*cpe:2.3:a:zenstruck:collection:*:*:*:*:*:*:*:*

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS

0.002

Percentile

52.1%

Related for GHSA-7XR2-8FF7-6FJQ