Vigil@nce - LibYAML: denial of service via yaml_parser_save_simple_key
December 2014 by Vigil@nce
This bulletin was written by Vigil@nce : http://vigilance.fr/offer
SYNTHESIS OF THE VULNERABILITY
An attacker can create malformed YAML data, to generate an error
in the yaml_parser_save_simple_key() function of LibYAML, in order
to trigger a denial of service.
Impacted products: Unix (platform)
Severity: 1/4
Creation date: 28/11/2014
DESCRIPTION OF THE VULNERABILITY
The LibYAML library analyzes the YAML format, such as:
key: value
key2: value2
etc.
However, if a value is multi-lines, surrounded by quotes, and ends
before the next key, an assertion error occurs in the
yaml_parser_save_simple_key() function.
An attacker can therefore create malformed YAML data, to generate
an error in the yaml_parser_save_simple_key() function of LibYAML,
in order to trigger a denial of service.
ACCESS TO THE COMPLETE VIGIL@NCE BULLETIN
http://vigilance.fr/vulnerability/LibYAML-denial-of-service-via-yaml-parser-save-simple-key-15723