Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CVE-2024-0727 for branch 8.3 #598

Merged

Conversation

dongbeiouba
Copy link
Member

Checklist
  • https://yuque.com/tsdoc 增加或更新了必要的文档
  • 增加或更新了必要的测试用例
  • 对于重要修改,更新了CHANGES文件
  • 当前修改存在对已有API参数或返回值的改变
  • 当前修改存在对旧版本功能的兼容性改变(如网络协议或密码算法)

PKCS12 structures contain PKCS7 ContentInfo fields. These fields are
optional and can be NULL even if the "type" is a valid value. OpenSSL
was not properly accounting for this and a NULL dereference can occur
causing a crash.

CVE-2024-0727
PKCS7 ContentInfo fields held within a PKCS12 file can be NULL, even if the
type has been set to a valid value. CVE-2024-0727 is a result of OpenSSL
attempting to dereference the NULL pointer as a result of this.

We add test for various instances of this problem.
@dongbeiouba dongbeiouba added bug Something isn't working branch-8.3 labels Apr 15, 2024
@dongbeiouba dongbeiouba requested review from InfoHunter, wa5i, zhsnew, zzl360 and a team April 15, 2024 14:18
@InfoHunter InfoHunter merged commit e3fed34 into Tongsuo-Project:8.3-stable Apr 16, 2024
71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-8.3 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants