Null byte termination in dns_get_record()
Package
No package listed
Affected versions
< 8.1.34
< 8.2.30
< 8.3.29
< 8.4.16
< 8.5.1
Patched versions
8.1.34
8.2.30
8.3.29
8.4.16
8.5.1
Summary
As GHSA-3cr5-j632-f35r, same null termination is occuring
Details
dns_get_record() and other DNS functions don't have any null contain check, leads potential SSRF or unexpected behavior.
PoC
Result: DNS records of
php.netExpect: Fails to call
Security impact
(Even though it's too low but,) Probability of SSRF