Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113647 - www-misc/gurlchecker Possible overflows
Summary: www-misc/gurlchecker Possible overflows
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Auditing (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Leonardo Boshell (RETIRED)
URL: http://labs.libre-entreprise.org/foru...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-26 11:45 UTC by Olivier Castan
Modified: 2005-12-21 19:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Castan 2005-11-26 11:45:02 UTC
I've built gurlchecker on Gentoo ppc and x86. Receiving segfaults after a while
on both arch I used valgrind.
I found a few bugs in gurlchecker-0.8.2, reported to the maintainer with a patch :
- with g_memdup in uc_check_link_get_properties_proto_http (off by one string
copy leading to consecutive read overflows)
- with htmlFreeParserCtxt in uc_html_parser_get_tags (read and write access to
free'd zone)
- with memcpy in uc_utils_string_cut (potential read overflow) and write
overflow with strncat

The last overflow can be triggered with a link url of the right size, but the
write content can't be controled. Looks like the problem is limited to remote
DoS but not remote execution.

Reproducible: Always
Steps to Reproduce:
Comment 1 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-11-26 12:01:45 UTC
Auditors please adivse (And reassign to maintainer if this is just a simple 
crash and not exploitable) 
Comment 2 Tavis Ormandy (RETIRED) gentoo-dev 2005-12-18 12:37:59 UTC
Yes, clearly some bugs there, but looks like no security impact, reassigning to maintainer.
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2005-12-21 19:25:39 UTC
I've committed gurlchecker-0.8.3 to the tree, which includes these bug fixes. Since no real security problems have been identified, it won't be pushed to stable too soon.

Thanks for the report.