Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Header injection possibility since DomainNameValidator accepted newlines in input
Vulnerability Description
An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16. `DomainNameValidator` does not prohibit newlines in domain names (unless used via a form field, since `CharField` strips newlines). If an application uses values with newlines in an HTTP response, header injection can occur. Django itself is unaffected because `HttpResponse` prohibits newlines in HTTP headers. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Bence Nagy for reporting this issue.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Vulnerability Type
行分隔符转义处理不恰当
Vulnerability Title
Django 输入验证错误漏洞
Vulnerability Description
Django是Django团队开源的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。 Django 6.0.7之前版本和5.2.16之前版本存在输入验证错误漏洞,该漏洞源于DomainNameValidator未禁止域名中的换行符,如果应用将含换行符的值用于HTTP响应,可能导致标头注入。
CVSS Information
N/A
Vulnerability Type
N/A