Skip to main content

Use of Externally-Controlled Format String

CVE-2013-2851

Severity Medium
Score 6/10

Summary

Format string vulnerability in the register_disk function in block/genhd.c in the Linux kernel through 3.9.4 allows local users to gain privileges by leveraging root access and writing format string specifiers to /sys/module/md_mod/parameters/new_array in order to create a crafted /dev/md device name.

  • HIGH
  • LOCAL
  • SINGLE
  • COMPLETE
  • COMPLETE
  • COMPLETE

CWE-134 - Use of Externally-Controlled Format String

The software uses a function that accepts a format string as an argument, but the format string originates from an external source.

References

Advisory Timeline

  • Published