{"id":"CVE-2018-6948","sourceIdentifier":"cve@mitre.org","published":"2018-02-13T17:29:00.250","lastModified":"2026-06-17T02:02:29.987","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"In CCN-lite 2, the function ccnl_prefix_to_str_detailed can cause a buffer overflow, when writing a prefix to the buffer buf. The maximal size of the prefix is CCNL_MAX_PREFIX_SIZE; the buffer has the size CCNL_MAX_PREFIX_SIZE. However, when NFN is enabled, additional characters are written to the buffer (e.g., the \"NFN\" and \"R2C\" tags). Therefore, sending an NFN-R2C packet with a prefix of size CCNL_MAX_PREFIX_SIZE can cause an overflow of buf inside ccnl_prefix_to_str_detailed."},{"lang":"es","value":"En CCN-lite 2, la función ccnl_prefix_to_str_detailed puede provocar un desbordamiento de búfer al escribir un prefijo en el búfer buf. El tamaño máximo del prefijo es CCNL_MAX_PREFIX_SIZE; el búfer tiene el tamaño CCNL_MAX_PREFIX_SIZE. Sin embargo, cuando NFN está habilitado, se escriben caracteres adicionales en el búfer (por ejemplo, las etiquetas \"NFN\" y \"R2C\"). Por lo tanto, el envío de un paquete NFN-R2C con un prefijo de tamaño CCNL_MAX_PREFIX_SIZE puede provocar un desbordamiento de buf en ccnl_prefix_to_str_detailed."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":true,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-119"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ccn-lite:ccn-lite:2.0.0:*:*:*:*:*:*:*","matchCriteriaId":"83C4FA31-E39A-4AE2-8F60-BBC51D874467"}]}]}],"references":[{"url":"https://github.com/cn-uofbasel/ccn-lite/issues/193","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://github.com/cn-uofbasel/ccn-lite/issues/193","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}]}