CWE-527
Exposure of Version-Control Repository to an Unauthorized Control Sphere
The product stores a CVS, git, or other repository in a directory, archive, or other resource that is stored, transferred, or otherwise made accessible to unauthorized actors.
CVE-2021-21423 (GCVE-0-2021-21423)
Vulnerability from cvelistv5
Published
2021-04-06 18:35
Modified
2024-08-03 18:09
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-527 - Exposure of Version-Control Repository to an Unauthorized Control Sphere
Summary
`projen` is a project generation tool that synthesizes project configuration files such as `package.json`, `tsconfig.json`, `.gitignore`, GitHub Workflows, `eslint`, `jest`, and more, from a well-typed definition written in JavaScript. Users of projen's `NodeProject` project type (including any project type derived from it) include a `.github/workflows/rebuild-bot.yml` workflow that may allow any GitHub user to trigger execution of un-trusted code in the context of the "main" repository (as opposed to that of a fork). In some situations, such untrusted code may potentially be able to commit to the "main" repository. The rebuild-bot workflow is triggered by comments including `@projen rebuild` on pull-request to trigger a re-build of the projen project, and updating the pull request with the updated files. This workflow is triggered by an `issue_comment` event, and thus always executes with a `GITHUB_TOKEN` belonging to the repository into which the pull-request is made (this is in contrast with workflows triggered by `pull_request` events, which always execute with a `GITHUB_TOKEN` belonging to the repository from which the pull-request is made). Repositories that do not have branch protection configured on their default branch (typically `main` or `master`) could possibly allow an untrusted user to gain access to secrets configured on the repository (such as NPM tokens, etc). Branch protection prohibits this escalation, as the managed `GITHUB_TOKEN` would not be able to modify the contents of a protected branch and affected workflows must be defined on the default branch.
References
► | URL | Tags | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-03T18:09:16.091Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://github.com/projen/projen/security/advisories/GHSA-gg2g-m5wc-vccq" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/projen/projen/commit/36030c6a4b1acd0054673322612e7c70e9446643" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://www.npmjs.com/package/projen" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "projen", "vendor": "projen", "versions": [ { "status": "affected", "version": "\u003e= 0.6.0, \u003c 0.16.41" } ] } ], "descriptions": [ { "lang": "en", "value": "`projen` is a project generation tool that synthesizes project configuration files such as `package.json`, `tsconfig.json`, `.gitignore`, GitHub Workflows, `eslint`, `jest`, and more, from a well-typed definition written in JavaScript. Users of projen\u0027s `NodeProject` project type (including any project type derived from it) include a `.github/workflows/rebuild-bot.yml` workflow that may allow any GitHub user to trigger execution of un-trusted code in the context of the \"main\" repository (as opposed to that of a fork). In some situations, such untrusted code may potentially be able to commit to the \"main\" repository. The rebuild-bot workflow is triggered by comments including `@projen rebuild` on pull-request to trigger a re-build of the projen project, and updating the pull request with the updated files. This workflow is triggered by an `issue_comment` event, and thus always executes with a `GITHUB_TOKEN` belonging to the repository into which the pull-request is made (this is in contrast with workflows triggered by `pull_request` events, which always execute with a `GITHUB_TOKEN` belonging to the repository from which the pull-request is made). Repositories that do not have branch protection configured on their default branch (typically `main` or `master`) could possibly allow an untrusted user to gain access to secrets configured on the repository (such as NPM tokens, etc). Branch protection prohibits this escalation, as the managed `GITHUB_TOKEN` would not be able to modify the contents of a protected branch and affected workflows must be defined on the default branch." } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 6.8, "baseSeverity": "MEDIUM", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N", "version": "3.1" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-527", "description": "CWE-527: Exposure of Version-Control Repository to an Unauthorized Control Sphere", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2021-04-06T18:35:14", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/projen/projen/security/advisories/GHSA-gg2g-m5wc-vccq" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/projen/projen/commit/36030c6a4b1acd0054673322612e7c70e9446643" }, { "tags": [ "x_refsource_MISC" ], "url": "https://www.npmjs.com/package/projen" } ], "source": { "advisory": "GHSA-gg2g-m5wc-vccq", "discovery": "UNKNOWN" }, "title": "Exposure of Version-Control Repository to an Unauthorized Control Sphere in projen", "x_generator": { "engine": "Vulnogram 0.0.9" }, "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2021-21423", "STATE": "PUBLIC", "TITLE": "Exposure of Version-Control Repository to an Unauthorized Control Sphere in projen" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "projen", "version": { "version_data": [ { "version_value": "\u003e= 0.6.0, \u003c 0.16.41" } ] } } ] }, "vendor_name": "projen" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "`projen` is a project generation tool that synthesizes project configuration files such as `package.json`, `tsconfig.json`, `.gitignore`, GitHub Workflows, `eslint`, `jest`, and more, from a well-typed definition written in JavaScript. Users of projen\u0027s `NodeProject` project type (including any project type derived from it) include a `.github/workflows/rebuild-bot.yml` workflow that may allow any GitHub user to trigger execution of un-trusted code in the context of the \"main\" repository (as opposed to that of a fork). In some situations, such untrusted code may potentially be able to commit to the \"main\" repository. The rebuild-bot workflow is triggered by comments including `@projen rebuild` on pull-request to trigger a re-build of the projen project, and updating the pull request with the updated files. This workflow is triggered by an `issue_comment` event, and thus always executes with a `GITHUB_TOKEN` belonging to the repository into which the pull-request is made (this is in contrast with workflows triggered by `pull_request` events, which always execute with a `GITHUB_TOKEN` belonging to the repository from which the pull-request is made). Repositories that do not have branch protection configured on their default branch (typically `main` or `master`) could possibly allow an untrusted user to gain access to secrets configured on the repository (such as NPM tokens, etc). Branch protection prohibits this escalation, as the managed `GITHUB_TOKEN` would not be able to modify the contents of a protected branch and affected workflows must be defined on the default branch." } ] }, "generator": { "engine": "Vulnogram 0.0.9" }, "impact": { "cvss": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 6.8, "baseSeverity": "MEDIUM", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-527: Exposure of Version-Control Repository to an Unauthorized Control Sphere" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/projen/projen/security/advisories/GHSA-gg2g-m5wc-vccq", "refsource": "CONFIRM", "url": "https://github.com/projen/projen/security/advisories/GHSA-gg2g-m5wc-vccq" }, { "name": "https://github.com/projen/projen/commit/36030c6a4b1acd0054673322612e7c70e9446643", "refsource": "MISC", "url": "https://github.com/projen/projen/commit/36030c6a4b1acd0054673322612e7c70e9446643" }, { "name": "https://www.npmjs.com/package/projen", "refsource": "MISC", "url": "https://www.npmjs.com/package/projen" } ] }, "source": { "advisory": "GHSA-gg2g-m5wc-vccq", "discovery": "UNKNOWN" } } } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2021-21423", "datePublished": "2021-04-06T18:35:14", "dateReserved": "2020-12-22T00:00:00", "dateUpdated": "2024-08-03T18:09:16.091Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }
CVE-2022-20931 (GCVE-0-2022-20931)
Vulnerability from cvelistv5
Published
2024-11-15 15:30
Modified
2024-11-15 15:47
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-527 - Exposure of Version-Control Repository to an Unauthorized Control Sphere
Summary
A vulnerability in the version control of Cisco TelePresence CE Software for Cisco Touch 10 Devices could allow an unauthenticated, adjacent attacker to install an older version of the software on an affected device.
This vulnerability is due to insufficient version control. An attacker could exploit this vulnerability by installing an older version of Cisco TelePresence CE Software on an affected device. A successful exploit could allow the attacker to take advantage of vulnerabilities in older versions of the software.Cisco has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.
References
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
Cisco | Cisco TelePresence Endpoint Software (TC/CE) |
Version: CE9.10.2 Version: CE9.1.4 Version: CE9.9.3 Version: CE9.10.3 Version: CE9.1.5 Version: CE9.2.4 Version: CE9.10.1 Version: CE9.13.0 Version: CE9.1.2 Version: CE9.1.1 Version: CE9.9.4 Version: CE9.2.1 Version: CE9.1.3 Version: CE9.0.1 Version: CE9.1.6 Version: CE9.12.4 Version: CE9.2.2 Version: CE9.12.3 Version: CE9.2.3 Version: CE9.13.1 Version: CE9.14.3 Version: CE9.14.4 Version: CE9.13.2 Version: CE9.12.5 Version: CE9.14.5 Version: CE9.15.0.10 Version: CE9.15.0.11 Version: CE9.13.3 Version: CE9.15.0.13 Version: CE9.14.6 Version: CE9.15.3.17 Version: CE9.14.7 Version: CE9.15.0.19 Version: CE9.15.3.19 Version: CE9.15.3.18 Version: CE9.15.3.22 Version: CE9.15.8.12 Version: CE9.15.10.8 Version: CE9.15.3.26 Version: CE9.15.3.25 Version: CE9.15.13.0 |
{ "containers": { "adp": [ { "metrics": [ { "other": { "content": { "id": "CVE-2022-20931", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2024-11-15T15:47:05.719923Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-11-15T15:47:25.217Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "defaultStatus": "unknown", "product": "Cisco TelePresence Endpoint Software (TC/CE)", "vendor": "Cisco", "versions": [ { "status": "affected", "version": "CE9.10.2" }, { "status": "affected", "version": "CE9.1.4" }, { "status": "affected", "version": "CE9.9.3" }, { "status": "affected", "version": "CE9.10.3" }, { "status": "affected", "version": "CE9.1.5" }, { "status": "affected", "version": "CE9.2.4" }, { "status": "affected", "version": "CE9.10.1" }, { "status": "affected", "version": "CE9.13.0" }, { "status": "affected", "version": "CE9.1.2" }, { "status": "affected", "version": "CE9.1.1" }, { "status": "affected", "version": "CE9.9.4" }, { "status": "affected", "version": "CE9.2.1" }, { "status": "affected", "version": "CE9.1.3" }, { "status": "affected", "version": "CE9.0.1" }, { "status": "affected", "version": "CE9.1.6" }, { "status": "affected", "version": "CE9.12.4" }, { "status": "affected", "version": "CE9.2.2" }, { "status": "affected", "version": "CE9.12.3" }, { "status": "affected", "version": "CE9.2.3" }, { "status": "affected", "version": "CE9.13.1" }, { "status": "affected", "version": "CE9.14.3" }, { "status": "affected", "version": "CE9.14.4" }, { "status": "affected", "version": "CE9.13.2" }, { "status": "affected", "version": "CE9.12.5" }, { "status": "affected", "version": "CE9.14.5" }, { "status": "affected", "version": "CE9.15.0.10" }, { "status": "affected", "version": "CE9.15.0.11" }, { "status": "affected", "version": "CE9.13.3" }, { "status": "affected", "version": "CE9.15.0.13" }, { "status": "affected", "version": "CE9.14.6" }, { "status": "affected", "version": "CE9.15.3.17" }, { "status": "affected", "version": "CE9.14.7" }, { "status": "affected", "version": "CE9.15.0.19" }, { "status": "affected", "version": "CE9.15.3.19" }, { "status": "affected", "version": "CE9.15.3.18" }, { "status": "affected", "version": "CE9.15.3.22" }, { "status": "affected", "version": "CE9.15.8.12" }, { "status": "affected", "version": "CE9.15.10.8" }, { "status": "affected", "version": "CE9.15.3.26" }, { "status": "affected", "version": "CE9.15.3.25" }, { "status": "affected", "version": "CE9.15.13.0" } ] } ], "descriptions": [ { "lang": "en", "value": "A vulnerability in the version control of Cisco\u0026nbsp;TelePresence CE Software for Cisco\u0026nbsp;Touch 10 Devices could allow an unauthenticated, adjacent attacker to install an older version of the software on an affected device.\r\nThis vulnerability is due to insufficient version control. An attacker could exploit this vulnerability by installing an older version of Cisco\u0026nbsp;TelePresence CE Software on an affected device. A successful exploit could allow the attacker to take advantage of vulnerabilities in older versions of the software.Cisco\u0026nbsp;has released software updates that address this vulnerability. There are no workarounds that address this vulnerability." } ], "exploits": [ { "lang": "en", "value": "The Cisco PSIRT is not aware of any public announcements or malicious use of the vulnerability that is described in this advisory." } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "ADJACENT_NETWORK", "availabilityImpact": "NONE", "baseScore": 6.5, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N", "version": "3.1" }, "format": "cvssV3_1" } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-527", "description": "Exposure of Version-Control Repository to an Unauthorized Control Sphere", "lang": "en", "type": "cwe" } ] } ], "providerMetadata": { "dateUpdated": "2024-11-15T15:30:29.164Z", "orgId": "d1c1063e-7a18-46af-9102-31f8928bc633", "shortName": "cisco" }, "references": [ { "name": "cisco-sa-CTT-DAV-HSvEHHEt", "url": "https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-CTT-DAV-HSvEHHEt" } ], "source": { "advisory": "cisco-sa-CTT-DAV-HSvEHHEt", "defects": [ "CSCvw12012" ], "discovery": "INTERNAL" }, "title": "Cisco Touch 10 Device Downgrade Attack Vulnerability" } }, "cveMetadata": { "assignerOrgId": "d1c1063e-7a18-46af-9102-31f8928bc633", "assignerShortName": "cisco", "cveId": "CVE-2022-20931", "datePublished": "2024-11-15T15:30:29.164Z", "dateReserved": "2021-11-02T13:28:29.192Z", "dateUpdated": "2024-11-15T15:47:25.217Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }
Mitigation
Phases: Operation, Distribution, System Configuration
Description:
- Recommendations include removing any CVS directories and repositories from the production server, disabling the use of remote CVS repositories, and ensuring that the latest CVS patches and version updates have been performed.
No CAPEC attack patterns related to this CWE.