Files
bind9/lib/dns
Mark Andrews 5f82841098 Silence untrusted loop bound on nsec3param.iterations
630
   	    1. tainted_argument: Calling function dns_rdata_tostruct taints argument nsec3param.iterations. [show details]
    631        result = dns_rdata_tostruct(nsec3rdata, &nsec3param, NULL);
   	    2. Condition !!(result == 0), taking true branch.
   	    3. Condition !!(result == 0), taking true branch.
    632        RUNTIME_CHECK(result == ISC_R_SUCCESS);
    633
    634        dns_fixedname_init(&fixed);

            CID 281425 (#1 of 1): Untrusted loop bound (TAINTED_SCALAR)
            4. tainted_data: Passing tainted expression nsec3param.iterations to dns_nsec3_hashname, 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.
    635        result = dns_nsec3_hashname(&fixed, rawhash, &rhsize, vctx->origin,
    636                                    vctx->origin, nsec3param.hash,
    637                                    nsec3param.iterations, nsec3param.salt,
    638                                    nsec3param.salt_length);

(cherry picked from commit c5e1c35e45)
2021-07-12 12:16:29 +10:00
..
2021-07-01 14:48:23 +02:00
2021-07-01 15:01:05 +10:00
2021-07-01 14:48:47 +02:00
2021-04-19 14:32:53 +02:00
2020-11-11 15:59:56 -03:00
2021-07-01 14:48:47 +02:00
2021-07-12 10:45:42 +10:00
2021-02-23 09:18:55 +01:00
2021-07-01 14:48:23 +02:00
2020-12-01 23:19:20 +11:00
2020-11-11 15:59:56 -03:00
2020-11-11 15:59:56 -03:00
2021-05-20 09:52:53 +02:00