Critical
Security advisory
The unofficial vscode-rpm-spec extension before 0.3.2 for Visual Studio Code allows remote code execution via a crafted workspace configuration.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-31414
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:45 UTC · Revision 1
Source evidence
The unofficial vscode-rpm-spec extension before 0.3.2 for Visual Studio Code allows remote code execution via a crafted workspace configuration.
osv:CVE-2021-31414
Complete source record
{
"id": "8880d66a32fcdcc5a55b61013a379cbe664fe2f129bd36bafb87906482108416",
"url": "https://osv.dev/vulnerability/CVE-2021-31414",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-31414",
"summary": "The unofficial vscode-rpm-spec extension before 0.3.2 for Visual Studio Code allows remote code execution via a crafted workspace configuration.",
"evidence": "osv:CVE-2021-31414",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-31414",
"aliases": [
"CVE-2021-31414"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/laurenttreguier/vscode-rpm-spec",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "38c820666d41d297e149afeacf3829ae44859b30"
},
{
"fixed": "e19fb8e29cb48cadfd3238371e060d4ffd3384f9"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:rpm_spec_project:rpm_spec:*:*:*:*:*:visual_studio_code:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.3.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "e19fb8e29cb48cadfd3238371e060d4ffd3384f9"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.3.1",
"v0.3.0",
"v0.2.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31414.json"
}
}
],
"modified": "2026-10-20T10:54:40.536617117Z",
"provider": "osv",
"references": [
"https://vuln.ryotak.me/advisories/36",
"https://github.com/LaurentTreguier/vscode-rpm-spec/commit/e19fb8e29cb48cadfd3238371e060d4ffd3384f9"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-31414",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385856,
"published_at": "2021-04-16T04:15:12.263+00:00"
}