CVE-2022-35222 (GCVE-0-2022-35222)
Vulnerability from cvelistv5 – Published: 2022-08-02 15:21 – Updated: 2024-09-16 20:37
VLAI
EPSS
VEX
Title
HiCOS Citizen verification component - Stack Buffer Overflow
Summary
HiCOS Citizen verification component has a stack-based buffer overflow vulnerability due to insufficient parameter length validation. An unauthenticated physical attacker can exploit this vulnerability to execute arbitrary code, manipulate system command or disrupt service.
Severity
6.8 (Medium)
CWE
- CWE-787 - Out-of-bounds Write
Assigner
References
1 reference
| URL | Tags |
|---|---|
| https://www.twcert.org.tw/tw/cp-132-6363-f5ec2-1.html | x_refsource_MISC |
Impacted products
3 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| HINET | HiCOS Citizen verification component - Stack Buffer Overflow |
Affected:
libHicos_p11v1.so CHT PKCS#11 3.0.3.30306
|
guessed | |
| HINET | HiCOS Citizen verification component - Stack Buffer Overflow |
Affected:
HiCOSPKCS11.dll CHT PKCS#11 3.1.0.00002
|
guessed | |
| HINET | HiCOS Citizen verification component - Stack Buffer Overflow |
Affected:
libHicos_p11v1.dylib CHT PKCS#11 3.0.3.30404
|
guessed |
Date Public
2022-07-29 00:00
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-03T09:29:17.452Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://www.twcert.org.tw/tw/cp-132-6363-f5ec2-1.html"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"platforms": [
"Linux"
],
"product": "HiCOS Citizen verification component - Stack Buffer Overflow",
"vendor": "HINET",
"versions": [
{
"status": "affected",
"version": "libHicos_p11v1.so CHT PKCS#11 3.0.3.30306"
}
]
},
{
"platforms": [
"Windows"
],
"product": "HiCOS Citizen verification component - Stack Buffer Overflow",
"vendor": "HINET",
"versions": [
{
"status": "affected",
"version": "HiCOSPKCS11.dll CHT PKCS#11 3.1.0.00002"
}
]
},
{
"platforms": [
"macOS"
],
"product": "HiCOS Citizen verification component - Stack Buffer Overflow",
"vendor": "HINET",
"versions": [
{
"status": "affected",
"version": "libHicos_p11v1.dylib CHT PKCS#11 3.0.3.30404"
}
]
}
],
"datePublic": "2022-07-29T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "HiCOS Citizen verification component has a stack-based buffer overflow vulnerability due to insufficient parameter length validation. An unauthenticated physical attacker can exploit this vulnerability to execute arbitrary code, manipulate system command or disrupt service."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "PHYSICAL",
"availabilityImpact": "HIGH",
"baseScore": 6.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-787",
"description": "CWE-787 Out-of-bounds Write",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2022-08-02T15:21:00.000Z",
"orgId": "cded6c7f-6ce5-4948-8f87-aa7a3bbb6b0e",
"shortName": "twcert"
},
"references": [
{
"tags": [
"x_refsource_MISC"
],
"url": "https://www.twcert.org.tw/tw/cp-132-6363-f5ec2-1.html"
}
],
"solutions": [
{
"lang": "en",
"value": "Download the latest version"
}
],
"source": {
"advisory": "TVN-202207006",
"discovery": "EXTERNAL"
},
"title": "HiCOS Citizen verification component - Stack Buffer Overflow",
"x_generator": {
"engine": "Vulnogram 0.0.9"
},
"x_legacyV4Record": {
"CVE_data_meta": {
"AKA": "TWCERT/CC",
"ASSIGNER": "cve@cert.org.tw",
"DATE_PUBLIC": "2022-07-29T06:52:00.000Z",
"ID": "CVE-2022-35222",
"STATE": "PUBLIC",
"TITLE": "HiCOS Citizen verification component - Stack Buffer Overflow"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "HiCOS Citizen verification component - Stack Buffer Overflow",
"version": {
"version_data": [
{
"platform": "Linux",
"version_affected": "=",
"version_value": "libHicos_p11v1.so CHT PKCS#11 3.0.3.30306"
},
{
"platform": "Windows",
"version_affected": "=",
"version_value": "HiCOSPKCS11.dll CHT PKCS#11 3.1.0.00002"
},
{
"platform": "macOS",
"version_affected": "=",
"version_value": "libHicos_p11v1.dylib CHT PKCS#11 3.0.3.30404"
}
]
}
}
]
},
"vendor_name": "HINET"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "HiCOS Citizen verification component has a stack-based buffer overflow vulnerability due to insufficient parameter length validation. An unauthenticated physical attacker can exploit this vulnerability to execute arbitrary code, manipulate system command or disrupt service."
}
]
},
"generator": {
"engine": "Vulnogram 0.0.9"
},
"impact": {
"cvss": {
"attackComplexity": "LOW",
"attackVector": "PHYSICAL",
"availabilityImpact": "HIGH",
"baseScore": 6.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-787 Out-of-bounds Write"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://www.twcert.org.tw/tw/cp-132-6363-f5ec2-1.html",
"refsource": "MISC",
"url": "https://www.twcert.org.tw/tw/cp-132-6363-f5ec2-1.html"
}
]
},
"solution": [
{
"lang": "en",
"value": "Download the latest version"
}
],
"source": {
"advisory": "TVN-202207006",
"discovery": "EXTERNAL"
}
}
}
},
"cveMetadata": {
"assignerOrgId": "cded6c7f-6ce5-4948-8f87-aa7a3bbb6b0e",
"assignerShortName": "twcert",
"cveId": "CVE-2022-35222",
"datePublished": "2022-08-02T15:21:00.177Z",
"dateReserved": "2022-07-05T00:00:00.000Z",
"dateUpdated": "2024-09-16T20:37:53.650Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2022-35222",
"date": "2026-09-19",
"epss": "0.00379",
"percentile": "0.31825"
},
"fkie_nvd": {
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:hinet:hicos_natural_person_credential_component_client:3.0.3.30306:*:*:*:*:linux:*:*",
"matchCriteriaId": "2C3A74A9-114E-4326-B71C-83FFA3580E63",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:hinet:hicos_natural_person_credential_component_client:3.0.3.30404:*:*:*:*:macos:*:*",
"matchCriteriaId": "7800A8CE-C635-4E00-8BEA-E3E4D4EC9378",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:hinet:hicos_natural_person_credential_component_client:3.1.0.00002:*:*:*:*:windows:*:*",
"matchCriteriaId": "48F1D51B-28F3-4952-BB19-9BCA637DF577",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "HiCOS Citizen verification component has a stack-based buffer overflow vulnerability due to insufficient parameter length validation. An unauthenticated physical attacker can exploit this vulnerability to execute arbitrary code, manipulate system command or disrupt service."
},
{
"lang": "es",
"value": "El componente de verificaci\u00f3n HiCOS Citizen presenta una vulnerabilidad de desbordamiento de b\u00fafer en la regi\u00f3n stack de la memoria debido a la insuficiente comprobaci\u00f3n de la longitud de los par\u00e1metros. Un atacante f\u00edsico no autenticado puede explotar esta vulnerabilidad para ejecutar c\u00f3digo arbitrario, manipular el comando del sistema o interrumpir el servicio"
}
],
"id": "CVE-2022-35222",
"lastModified": "2024-11-21T07:10:55.340",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "PHYSICAL",
"availabilityImpact": "HIGH",
"baseScore": 6.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 0.9,
"impactScore": 5.9,
"source": "twcert@cert.org.tw",
"type": "Primary"
}
]
},
"published": "2022-08-02T16:15:10.820",
"references": [
{
"source": "twcert@cert.org.tw",
"tags": [
"Third Party Advisory"
],
"url": "https://www.twcert.org.tw/tw/cp-132-6363-f5ec2-1.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory"
],
"url": "https://www.twcert.org.tw/tw/cp-132-6363-f5ec2-1.html"
}
],
"sourceIdentifier": "twcert@cert.org.tw",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-787"
}
],
"source": "twcert@cert.org.tw",
"type": "Secondary"
},
{
"description": [
{
"lang": "en",
"value": "CWE-787"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"platforms": [
"Linux"
],
"product": "HiCOS Citizen verification component - Stack Buffer Overflow",
"vendor": "HINET",
"versions": [
{
"status": "affected",
"version": "libHicos_p11v1.so CHT PKCS#11 3.0.3.30306"
}
]
},
{
"platforms": [
"Windows"
],
"product": "HiCOS Citizen verification component - Stack Buffer Overflow",
"vendor": "HINET",
"versions": [
{
"status": "affected",
"version": "HiCOSPKCS11.dll CHT PKCS#11 3.1.0.00002"
}
]
},
{
"platforms": [
"macOS"
],
"product": "HiCOS Citizen verification component - Stack Buffer Overflow",
"vendor": "HINET",
"versions": [
{
"status": "affected",
"version": "libHicos_p11v1.dylib CHT PKCS#11 3.0.3.30404"
}
]
}
],
"source": "twcert@cert.org.tw"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:hinet:hicos_natural_person_credential_component_client:3.0.3.30306:*:*:*:*:linux:*:*",
"matchCriteriaId": "2C3A74A9-114E-4326-B71C-83FFA3580E63",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:hinet:hicos_natural_person_credential_component_client:3.0.3.30404:*:*:*:*:macos:*:*",
"matchCriteriaId": "7800A8CE-C635-4E00-8BEA-E3E4D4EC9378",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:hinet:hicos_natural_person_credential_component_client:3.1.0.00002:*:*:*:*:windows:*:*",
"matchCriteriaId": "48F1D51B-28F3-4952-BB19-9BCA637DF577",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "HiCOS Citizen verification component has a stack-based buffer overflow vulnerability due to insufficient parameter length validation. An unauthenticated physical attacker can exploit this vulnerability to execute arbitrary code, manipulate system command or disrupt service."
},
{
"lang": "es",
"value": "El componente de verificaci\u00f3n HiCOS Citizen presenta una vulnerabilidad de desbordamiento de b\u00fafer en la regi\u00f3n stack de la memoria debido a la insuficiente comprobaci\u00f3n de la longitud de los par\u00e1metros. Un atacante f\u00edsico no autenticado puede explotar esta vulnerabilidad para ejecutar c\u00f3digo arbitrario, manipular el comando del sistema o interrumpir el servicio"
}
],
"id": "CVE-2022-35222",
"lastModified": "2026-06-17T04:51:35.200",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "PHYSICAL",
"availabilityImpact": "HIGH",
"baseScore": 6.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 0.9,
"impactScore": 5.9,
"source": "twcert@cert.org.tw",
"type": "Secondary"
}
]
},
"published": "2022-08-02T16:15:10.820",
"references": [
{
"source": "twcert@cert.org.tw",
"tags": [
"Third Party Advisory"
],
"url": "https://www.twcert.org.tw/tw/cp-132-6363-f5ec2-1.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory"
],
"url": "https://www.twcert.org.tw/tw/cp-132-6363-f5ec2-1.html"
}
],
"sourceIdentifier": "twcert@cert.org.tw",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-787"
}
],
"source": "twcert@cert.org.tw",
"type": "Secondary"
},
{
"description": [
{
"lang": "en",
"value": "CWE-787"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
},
"redhat_vex": {
"current_release_date": "2026-03-27T12:13:20+00:00",
"cve": "CVE-2022-35222",
"id": "CVE-2022-35222",
"initial_release_date": "2022-07-29T00:00:00+00:00",
"product_status:known_not_affected": "1",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "HiCOS Citizen verification component - Stack Buffer Overflow",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-35222.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
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.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
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.
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.
Loading…
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.
Loading…