Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

debian логотип

CVE-2017-14227

Опубликовано: 09 сент. 2017
Источник: debian
EPSS Низкий

Описание

In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a bson_utf8_validate length argument, which allows remote attackers to cause a denial of service (heap-based buffer over-read in the bson_utf8_validate function in bson-utf8.c), as demonstrated by bson-to-json.c.

Пакеты

ПакетСтатусВерсия исправленияРелизТип
libbsonfixed1.8.0-1package
libbsonno-dsastretchpackage
libbson-xs-perlremovedpackage
libbson-xs-perlfixed0.8.4-2+deb12u1bookwormpackage

Примечания

  • https://bugzilla.redhat.com/show_bug.cgi?id=1489355

  • https://bugzilla.redhat.com/show_bug.cgi?id=1489356

  • https://bugzilla.redhat.com/show_bug.cgi?id=1489362

  • Latest https://github.com/mongodb/libbson/commit/0f501e7ed51a42d5502d319bce35b41f1a3aa112 (1.7.0-rc0)

  • uncovers the issue, which introduces UTF-8 validation during JSON encoding.

  • Only after that the utf8_len=4294967295 as shown with the POC is passed to

  • bson_utf8_validate via src/bson/bson-iter.c:2069

  • Still the underlying issue in bson-iter.c when parsing BSON with a codewscope

  • type is present in earlier versions.

  • Upstream issue: https://jira.mongodb.org/browse/CDRIVER-2269

  • Fixed by: https://github.com/mongodb/libbson/commit/42900956dc461dfe7fb91d93361d10737c1602b3

EPSS

Процентиль: 80%
0.01377
Низкий

Связанные уязвимости

CVSS3: 7.5
ubuntu
больше 8 лет назад

In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a bson_utf8_validate length argument, which allows remote attackers to cause a denial of service (heap-based buffer over-read in the bson_utf8_validate function in bson-utf8.c), as demonstrated by bson-to-json.c.

CVSS3: 3.3
redhat
больше 8 лет назад

In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a bson_utf8_validate length argument, which allows remote attackers to cause a denial of service (heap-based buffer over-read in the bson_utf8_validate function in bson-utf8.c), as demonstrated by bson-to-json.c.

CVSS3: 7.5
nvd
больше 8 лет назад

In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a bson_utf8_validate length argument, which allows remote attackers to cause a denial of service (heap-based buffer over-read in the bson_utf8_validate function in bson-utf8.c), as demonstrated by bson-to-json.c.

CVSS3: 7.5
github
больше 3 лет назад

In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a bson_utf8_validate length argument, which allows remote attackers to cause a denial of service (heap-based buffer over-read in the bson_utf8_validate function in bson-utf8.c), as demonstrated by bson-to-json.c.

EPSS

Процентиль: 80%
0.01377
Низкий