Skip to content

Prevent RCE when deserializing untrusted user input

High severity GitHub Reviewed Published Nov 21, 2022 in yiisoft/yii • Updated Feb 3, 2023

Package

composer yiisoft/yii (Composer)

Affected versions

< 1.1.27

Patched versions

1.1.27

Description

Impact

Affected versions of yiisoft/yii are vulnerable to Remote Code Execution (RCE) if the application calls unserialize() on arbitrary user input.

Patches

Upgrade yiisoft/yii to version 1.1.27 or higher.

For more information

See the following links for more details:

If you have any questions or comments about this advisory, contact us through security form.

References

@samdark samdark published to yiisoft/yii Nov 21, 2022
Published to the GitHub Advisory Database Nov 21, 2022
Reviewed Nov 21, 2022
Published by the National Vulnerability Database Nov 23, 2022
Last updated Feb 3, 2023

Severity

High
8.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2022-41922

GHSA ID

GHSA-442f-wcwq-fpcf

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.