Vulnerabilites related to yiisoft - yiisoft/yii2
CVE-2021-3689 (GCVE-0-2021-3689)
Vulnerability from cvelistv5
Published
2021-08-10 10:21
Modified
2024-08-03 17:01
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-1241 - Use of Predictable Algorithm in Random Number Generator
Summary
yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
References
► | URL | Tags | ||||||
---|---|---|---|---|---|---|---|---|
|
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
yiisoft | yiisoft/yii2 |
Version: unspecified < |
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-03T17:01:07.696Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://huntr.dev/bounties/50aad1d4-eb00-4573-b8a4-dbe38e2c229f" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "yiisoft/yii2", "vendor": "yiisoft", "versions": [ { "lessThanOrEqual": "2.0.42.1", "status": "affected", "version": "unspecified", "versionType": "custom" } ] } ], "descriptions": [ { "lang": "en", "value": "yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator" } ], "metrics": [ { "cvssV3_0": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.1, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.0" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-1241", "description": "CWE-1241 Use of Predictable Algorithm in Random Number Generator", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2021-08-10T10:21:30", "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a", "shortName": "@huntrdev" }, "references": [ { "tags": [ "x_refsource_CONFIRM" ], "url": "https://huntr.dev/bounties/50aad1d4-eb00-4573-b8a4-dbe38e2c229f" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46" } ], "source": { "advisory": "50aad1d4-eb00-4573-b8a4-dbe38e2c229f", "discovery": "EXTERNAL" }, "title": "Use of Predictable Algorithm in Random Number Generator in yiisoft/yii2", "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "security@huntr.dev", "ID": "CVE-2021-3689", "STATE": "PUBLIC", "TITLE": "Use of Predictable Algorithm in Random Number Generator in yiisoft/yii2" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "yiisoft/yii2", "version": { "version_data": [ { "version_affected": "\u003c=", "version_value": "2.0.42.1" } ] } } ] }, "vendor_name": "yiisoft" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator" } ] }, "impact": { "cvss": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.1, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.0" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-1241 Use of Predictable Algorithm in Random Number Generator" } ] } ] }, "references": { "reference_data": [ { "name": "https://huntr.dev/bounties/50aad1d4-eb00-4573-b8a4-dbe38e2c229f", "refsource": "CONFIRM", "url": "https://huntr.dev/bounties/50aad1d4-eb00-4573-b8a4-dbe38e2c229f" }, { "name": "https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46", "refsource": "MISC", "url": "https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46" } ] }, "source": { "advisory": "50aad1d4-eb00-4573-b8a4-dbe38e2c229f", "discovery": "EXTERNAL" } } } }, "cveMetadata": { "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a", "assignerShortName": "@huntrdev", "cveId": "CVE-2021-3689", "datePublished": "2021-08-10T10:21:30", "dateReserved": "2021-08-07T00:00:00", "dateUpdated": "2024-08-03T17:01:07.696Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }
CVE-2024-4990 (GCVE-0-2024-4990)
Vulnerability from cvelistv5
Published
2025-03-20 10:11
Modified
2025-03-20 13:31
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-470 - Use of Externally-Controlled Input to Select Classes or Code
Summary
In yiisoft/yii2 version 2.0.48, the base Component class contains a vulnerability where the `__set()` magic method does not validate that the value passed is a valid Behavior class name or configuration. This allows an attacker to instantiate arbitrary classes, passing parameters to their constructors and invoking setter methods. Depending on the installed dependencies, various types of attacks are possible, including the execution of arbitrary code, retrieval of sensitive information, and unauthorized access.
References
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
yiisoft | yiisoft/yii2 |
Version: unspecified < |
{ "containers": { "adp": [ { "metrics": [ { "other": { "content": { "id": "CVE-2024-4990", "options": [ { "Exploitation": "poc" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "timestamp": "2025-03-20T13:30:40.291711Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2025-03-20T13:31:05.950Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "references": [ { "tags": [ "exploit" ], "url": "https://huntr.com/bounties/4fbdd965-02b6-42e4-b57b-f98f93415b8f" } ], "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "product": "yiisoft/yii2", "vendor": "yiisoft", "versions": [ { "lessThanOrEqual": "latest", "status": "affected", "version": "unspecified", "versionType": "custom" } ] } ], "descriptions": [ { "lang": "en", "value": "In yiisoft/yii2 version 2.0.48, the base Component class contains a vulnerability where the `__set()` magic method does not validate that the value passed is a valid Behavior class name or configuration. This allows an attacker to instantiate arbitrary classes, passing parameters to their constructors and invoking setter methods. Depending on the installed dependencies, various types of attacks are possible, including the execution of arbitrary code, retrieval of sensitive information, and unauthorized access." } ], "metrics": [ { "cvssV3_0": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.1, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.0" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-470", "description": "CWE-470 Use of Externally-Controlled Input to Select Classes or Code", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2025-03-20T10:11:14.988Z", "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a", "shortName": "@huntr_ai" }, "references": [ { "url": "https://huntr.com/bounties/4fbdd965-02b6-42e4-b57b-f98f93415b8f" } ], "source": { "advisory": "4fbdd965-02b6-42e4-b57b-f98f93415b8f", "discovery": "EXTERNAL" }, "title": "Unsafe Reflection in base Component class in yiisoft/yii2" } }, "cveMetadata": { "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a", "assignerShortName": "@huntr_ai", "cveId": "CVE-2024-4990", "datePublished": "2025-03-20T10:11:14.988Z", "dateReserved": "2024-05-16T09:00:39.505Z", "dateUpdated": "2025-03-20T13:31:05.950Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }
CVE-2021-3692 (GCVE-0-2021-3692)
Vulnerability from cvelistv5
Published
2021-08-10 15:36
Modified
2024-08-03 17:01
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-1241 - Use of Predictable Algorithm in Random Number Generator
Summary
yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
References
► | URL | Tags | ||||||
---|---|---|---|---|---|---|---|---|
|
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
yiisoft | yiisoft/yii2 |
Version: unspecified < |
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-03T17:01:08.488Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46" }, { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://huntr.dev/bounties/55517f19-5c28-4db2-8b00-f78f841e8aba" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "yiisoft/yii2", "vendor": "yiisoft", "versions": [ { "lessThanOrEqual": "2.0.42.1", "status": "affected", "version": "unspecified", "versionType": "custom" } ] } ], "descriptions": [ { "lang": "en", "value": "yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator" } ], "metrics": [ { "cvssV3_0": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.1, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.0" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-1241", "description": "CWE-1241 Use of Predictable Algorithm in Random Number Generator", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2021-08-10T15:36:00", "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a", "shortName": "@huntrdev" }, "references": [ { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46" }, { "tags": [ "x_refsource_CONFIRM" ], "url": "https://huntr.dev/bounties/55517f19-5c28-4db2-8b00-f78f841e8aba" } ], "source": { "advisory": "55517f19-5c28-4db2-8b00-f78f841e8aba", "discovery": "EXTERNAL" }, "title": "Use of Predictable Algorithm in Random Number Generator in yiisoft/yii2", "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "security@huntr.dev", "ID": "CVE-2021-3692", "STATE": "PUBLIC", "TITLE": "Use of Predictable Algorithm in Random Number Generator in yiisoft/yii2" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "yiisoft/yii2", "version": { "version_data": [ { "version_affected": "\u003c=", "version_value": "2.0.42.1" } ] } } ] }, "vendor_name": "yiisoft" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator" } ] }, "impact": { "cvss": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.1, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.0" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-1241 Use of Predictable Algorithm in Random Number Generator" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46", "refsource": "MISC", "url": "https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46" }, { "name": "https://huntr.dev/bounties/55517f19-5c28-4db2-8b00-f78f841e8aba", "refsource": "CONFIRM", "url": "https://huntr.dev/bounties/55517f19-5c28-4db2-8b00-f78f841e8aba" } ] }, "source": { "advisory": "55517f19-5c28-4db2-8b00-f78f841e8aba", "discovery": "EXTERNAL" } } } }, "cveMetadata": { "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a", "assignerShortName": "@huntrdev", "cveId": "CVE-2021-3692", "datePublished": "2021-08-10T15:36:00", "dateReserved": "2021-08-09T00:00:00", "dateUpdated": "2024-08-03T17:01:08.488Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }