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
11
security impact
code execution
patch
workaround
reference.

8.8 High

CVSS3

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

0.001 Low

EPSS

Percentile

30.9%

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
CPENameOperatorVersion
zenstruck/collectionlt0.2.1

8.8 High

CVSS3

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

0.001 Low

EPSS

Percentile

30.9%

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