{"id":"CVE-2018-18385","sourceIdentifier":"cve@mitre.org","published":"2018-10-16T16:50:12.927","lastModified":"2026-06-17T01:47:07.217","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"Asciidoctor in versions < 1.5.8 allows remote attackers to cause a denial of service (infinite loop). The loop was caused by the fact that Parser.next_block was not exhausting all the lines in the reader as the while loop expected it would. This was happening because the regular expression that detects any list was not agreeing with the regular expression that detects a specific list type. So the line kept getting pushed back onto the reader, hence causing the loop."},{"lang":"es","value":"Asciidoctor v1.5.8 permite que atacantes remotos provoquen una denegación de servicio (bucle infinito). Este bucle se debe al hecho de que Parser.next_block no agotaba todas las líneas en el lector de la manera esperada. Esto ocurría porque la expresión regular que detecta cualquier lista no coincidía con la expresión regular que detecta un tipo de lista específico. Por lo tanto, la línea se desplazaba constantemente en el lector, creando así el bucle."}],"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:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","baseScore":5.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-835"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:asciidoctor:asciidoctor:*:*:*:*:*:*:*:*","versionEndExcluding":"1.5.8","matchCriteriaId":"B31D5502-7886-4358-92AA-3925010F28BD"}]}]}],"references":[{"url":"https://github.com/asciidoctor/asciidoctor/issues/2888","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/asciidoctor/asciidoctor/issues/2888","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]}]}