Mark Andrews
f0fdca90f2
Silence tainted scalar on rdlen
2042 ttl = isc_buffer_getuint32(&j->it.source);
13. tainted_data_transitive: Call to function isc_buffer_getuint16 with tainted argument *j->it.source.base returns tainted data. [show details]
14. var_assign: Assigning: rdlen = isc_buffer_getuint16(&j->it.source), which taints rdlen.
2043 rdlen = isc_buffer_getuint16(&j->it.source);
2044
2045 /*
2046 * Parse the rdata.
2047 */
15. Condition j->it.source.used - j->it.source.current != rdlen, taking false branch.
2048 if (isc_buffer_remaininglength(&j->it.source) != rdlen) {
2049 FAIL(DNS_R_FORMERR);
2050 }
16. var_assign_var: Assigning: j->it.source.active = j->it.source.current + rdlen. Both are now tainted.
2051 isc_buffer_setactive(&j->it.source, rdlen);
2052 dns_rdata_reset(&j->it.rdata);
17. lower_bounds: Checking lower bounds of unsigned scalar j->it.source.active by taking the true branch of j->it.source.active > j->it.source.current.
CID 316506 (#1 of 1): Untrusted loop bound (TAINTED_SCALAR)
18. tainted_data: Passing tainted expression j->it.source.active to dns_rdata_fromwire, which uses it as a loop boundary. [show details]
Ensure that tainted values are properly sanitized, by checking that their values are within a permissible range.
2053 CHECK(dns_rdata_fromwire(&j->it.rdata, rdclass, rdtype, &j->it.source,
2054 &j->it.dctx, 0, &j->it.target));
2021-07-12 00:22:07 +00:00
..
2021-07-09 15:58:02 +02:00
2021-07-01 14:34:28 +10:00
2021-07-09 15:58:02 +02:00
2021-05-24 20:44:54 +02:00
2021-07-09 15:58:02 +02:00
2021-07-06 05:33:48 +00:00
2021-07-09 15:58:02 +02:00
2021-07-09 15:58:02 +02:00
2021-07-09 15:58:02 +02:00
2021-05-22 00:37:27 -07:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-06-30 17:28:49 +02:00
2021-06-30 17:28:48 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2021-07-12 00:22:07 +00:00
2021-06-30 17:28:48 +02:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-05-22 00:37:27 -07:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-07-09 15:58:02 +02:00
2021-07-06 05:33:48 +00:00
2021-05-22 00:37:27 -07:00
2021-05-22 00:37:27 -07:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2021-05-22 00:37:27 -07:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-05-05 19:15:33 +02:00
2021-05-22 00:37:27 -07:00
2021-07-09 15:58:02 +02:00
2021-07-09 15:58:02 +02:00
2021-05-24 20:44:54 +02:00
2021-05-22 00:37:27 -07:00
2021-05-22 00:37:27 -07:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-05-22 00:37:27 -07:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-05-22 00:37:27 -07:00
2021-07-06 05:33:48 +00:00
2021-05-26 08:15:08 +00:00
2021-07-06 05:33:48 +00:00
2021-05-22 00:37:27 -07:00