View Issue Details

IDProjectCategoryView StatusLast Update
0009328GNUnetutil librarypublic2024-11-04 17:20
Reporterfefe Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0009328: add_record: buffer overflow
Description  1297 ret = GNUNET_DNSPARSER_builder_add_name (dst,
  1298 dst_len
  1299 - sizeof(
  1300 struct GNUNET_TUN_DnsRecordLine),
  1301 off,
  1302 record->name);

dst_len could come in < sizeof(struct GNUNET_TUN_DnsRecordLine) and cause underflow and a buffer overflow here.

  1343 default:
  1344 if (pos + record->data.raw.data_len > dst_len)

data_len is a size_t. This addition can overflow, defeating the check.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-11-04 17:20 fefe New Issue