FKIE_CVE-2021-21423
Vulnerability from fkie_nvd - Published: 2021-04-06 19:15 - Updated: 2026-06-17 03:358.1 (High) - CVSS:3.1/
| URL | Tags | ||
|---|---|---|---|
| security-advisories@github.com | https://github.com/projen/projen/commit/36030c6a4b1acd0054673322612e7c70e9446643 | Patch, Third Party Advisory | |
| security-advisories@github.com | https://github.com/projen/projen/security/advisories/GHSA-gg2g-m5wc-vccq | Mitigation, Third Party Advisory | |
| security-advisories@github.com | https://www.npmjs.com/package/projen | Product, Third Party Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | https://github.com/projen/projen/commit/36030c6a4b1acd0054673322612e7c70e9446643 | Patch, Third Party Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | https://github.com/projen/projen/security/advisories/GHSA-gg2g-m5wc-vccq | Mitigation, Third Party Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | https://www.npmjs.com/package/projen | Product, Third Party Advisory |
| Vendor | Product | Version | |
|---|---|---|---|
| projen_project | projen | * |
{
"affected": [
{
"affectedData": [
{
"product": "projen",
"vendor": "projen",
"versions": [
{
"status": "affected",
"version": "\u003e= 0.6.0, \u003c 0.16.41"
}
]
}
],
"source": "security-advisories@github.com"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:projen_project:projen:*:*:*:*:*:node.js:*:*",
"matchCriteriaId": "A2E0EE70-F6DF-4821-ACC1-71E47B43303D",
"versionEndExcluding": "0.16.41",
"versionStartIncluding": "0.6.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"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."
},
{
"lang": "es",
"value": "\u201cprojen\u201d es una herramienta de generaci\u00f3n de proyectos que sintetiza archivos de configuraci\u00f3n de proyectos como \u201cpackage.json\u201d, \u201ctsconfig.json\u201d, \u201c.gitignore\u201d, GitHub Workflows, \u201ceslint\u201d,\u201d jest`, y m\u00e1s, desde una definici\u00f3n well-typed escrita en JavaScript. Los usuarios de tipo de proyecto \u201cNodeProject\u201d de projen (incluido cualquier tipo de proyecto derivado de \u00e9l) incluyen un flujo de trabajo \u201c.github/workflows /rebuild-bot.yml\u201d que puede permitir que cualquier usuario de GitHub active la ejecuci\u00f3n de c\u00f3digo no confiable en el contexto del repositorio \"main\" (en contraposici\u00f3n al de una bifurcaci\u00f3n). En algunas situaciones, dicho c\u00f3digo que no es de confianza puede potencialmente ser capaz de comprometerse con el repositorio \"main\". El flujo de trabajo rebuild-bot es activado con comentarios que incluyen \u201c@projen rebuild\u201d en la petici\u00f3n de extracci\u00f3n para activar un re-build del proyecto projen y la actualizaci\u00f3n de la petici\u00f3n de extracci\u00f3n con los archivos actualizados. Este flujo de trabajo es desencadenado por un evento \u201cissue_comment\u201d y, por lo tanto, siempre se ejecuta con un \u201cGITHUB_TOKEN\u201d que pertenece al repositorio en el que la petici\u00f3n de extracci\u00f3n es realizada (esto contrasta con los flujos de trabajo desencadenados por eventos \u201cpull_request\u201d, que siempre se ejecutan con un \u201cGITHUB_TOKEN\u201d perteneciente al repositorio desde el que la pull-request es realizada). Los repositorios que no contienen la protecci\u00f3n de rama configurada en su rama predeterminada (normalmente, \"main\" o \"master\") posiblemente podr\u00edan permitir a un usuario no confiable conseguir acceso a secretos configurados en el repositorio (como tokens NPM, etc.). La protecci\u00f3n de rama proh\u00edbe esta escalada, ya que el \"GITHUB_TOKEN\" administrado no podr\u00eda ser capaz de modificar el contenido de una rama protegida y los flujos de trabajo afectados deben definirse en la rama predeterminada"
}
],
"id": "CVE-2021-21423",
"lastModified": "2026-06-17T03:35:32.807",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "MEDIUM",
"cvssData": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "SINGLE",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:N",
"version": "2.0"
},
"exploitabilityScore": 8.0,
"impactScore": 4.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": false
}
],
"cvssMetricV31": [
{
"cvssData": {
"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"
},
"exploitabilityScore": 1.6,
"impactScore": 5.2,
"source": "security-advisories@github.com",
"type": "Secondary"
},
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 8.1,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 5.2,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2021-04-06T19:15:14.787",
"references": [
{
"source": "security-advisories@github.com",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/projen/projen/commit/36030c6a4b1acd0054673322612e7c70e9446643"
},
{
"source": "security-advisories@github.com",
"tags": [
"Mitigation",
"Third Party Advisory"
],
"url": "https://github.com/projen/projen/security/advisories/GHSA-gg2g-m5wc-vccq"
},
{
"source": "security-advisories@github.com",
"tags": [
"Product",
"Third Party Advisory"
],
"url": "https://www.npmjs.com/package/projen"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/projen/projen/commit/36030c6a4b1acd0054673322612e7c70e9446643"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Mitigation",
"Third Party Advisory"
],
"url": "https://github.com/projen/projen/security/advisories/GHSA-gg2g-m5wc-vccq"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Product",
"Third Party Advisory"
],
"url": "https://www.npmjs.com/package/projen"
}
],
"sourceIdentifier": "security-advisories@github.com",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-527"
}
],
"source": "security-advisories@github.com",
"type": "Secondary"
}
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.