An issue was discovered in uriparser before 0.9.6. It performs invalid free operations in uriFreeUriMembers and uriMakeOwner.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://github.com/uriparser/uriparser/issues/121 | issue tracking patch exploit third party advisory |
https://github.com/uriparser/uriparser/pull/124 | exploit third party advisory patch |
https://blog.hartwork.org/posts/uriparser-096-with-security-fixes-released/ | third party advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MO6T7WA27H7K3WI2AXUAGPWBGK4HM65D/ | vendor advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YGIJTDNEMU2V4H3JJBQVKBRHU5GBQKG2/ | vendor advisory |
https://lists.debian.org/debian-lts-announce/2022/01/msg00029.html | third party advisory mailing list |
https://www.debian.org/security/2022/dsa-5063 | third party advisory vendor advisory |