Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127757 - dev-libs/libvc: stack-based buffer overflow (CVE-2006-1356)
Summary: dev-libs/libvc: stack-based buffer overflow (CVE-2006-1356)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Security
URL: http://cve.mitre.org/cgi-bin/cvename....
Whiteboard: B2 [masked] DerCorny
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-27 08:14 UTC by Matthias Geerdsen (RETIRED)
Modified: 2008-05-15 19:11 UTC (History)
4 users (show)

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


Attachments
libvc-003.diff (libvc-003.diff,326 bytes, patch)
2006-03-27 11:02 UTC, solar (RETIRED)
no flags Details | Diff
libvc-003-r1.ebuild (libvc-003-r1.ebuild,688 bytes, text/plain)
2006-06-08 10:22 UTC, Cédric Krier
no flags Details
patch (libvc-003-count_vcards.patch,326 bytes, patch)
2006-06-08 10:23 UTC, Cédric Krier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Geerdsen (RETIRED) gentoo-dev 2006-03-27 08:14:01 UTC
Stack-based buffer overflow in the count_vcards function in LibVC 3, as used in Rolo, allows user-complicit attackers to execute arbitrary code via a vCard file (e.g. contacts.vcf) containing a long line.

see http://osvdb.org/ref/23/23985-libvc.txt
http://secunia.com/advisories/19295/


rrdep for libc: dev-libs/libvc <- app-misc/rolo mail-client/mutt-vc-query

libvc does not seem to have a maintainer, it was put in the tree by rizzo, who is not with the project anymore iirc

I couldn't find any sign of active developement going on for libvc/rolo/...
Comment 1 Stefan Cornelius (RETIRED) gentoo-dev 2006-03-27 09:41:26 UTC
no herd, no maintainer - joy. Rolo is afftected, too. also has no maintainer.

rizzo, if you are still around, could you fix this?
Comment 2 solar (RETIRED) gentoo-dev 2006-03-27 11:02:01 UTC
Created attachment 83245 [details, diff]
libvc-003.diff

I did not see a patch anywhere for this one, so I'm thinking something 
like this should solve the problem.
Comment 3 Thierry Carrez (RETIRED) gentoo-dev 2006-04-15 05:21:01 UTC
We should call for a maintainer on this one, or mask it if nobody comes
Comment 4 Thierry Carrez (RETIRED) gentoo-dev 2006-04-22 03:23:17 UTC
Call for maintainer posted.
Comment 5 Thierry Carrez (RETIRED) gentoo-dev 2006-04-28 12:18:52 UTC
Nobody cares. I vote for masking.
Comment 6 Thierry Carrez (RETIRED) gentoo-dev 2006-05-09 10:16:34 UTC
Anyone else cares to vote ?
Comment 7 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2006-05-09 12:01:47 UTC
well, let's mask it :(

this package is not widely used, afaik.
Comment 8 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2006-05-09 13:15:03 UTC
I vote for masking it.
Comment 9 Stefan Cornelius (RETIRED) gentoo-dev 2006-06-01 09:50:13 UTC
masked, setting severitiy to enhancement so that we dont forget about this.
Comment 10 Mark Loeser (RETIRED) gentoo-dev 2006-06-01 20:48:33 UTC
You broke two packages by doing this.  Please make sure you check anything that might depend on a package before you just mask it.  Here's the list:

   mail-client/mutt-vc-query/mutt-vc-query-002.ebuild: x86(default-linux/x86/2006.0) ['dev-libs/libvc']                     
   mail-client/mutt-vc-query/mutt-vc-query-002.ebuild: x86(default-linux/x86/no-nptl) ['dev-libs/libvc']                    
   mail-client/mutt-vc-query/mutt-vc-query-002.ebuild: x86(default-linux/x86/no-nptl/2.4) ['dev-libs/libvc']                
   mail-client/mutt-vc-query/mutt-vc-query-002.ebuild: ppc(default-linux/ppc/ppc32/2006.0) ['dev-libs/libvc']               
   mail-client/mutt-vc-query/mutt-vc-query-002.ebuild: ~sparc(default-linux/sparc/sparc64/2006.0/2.4) ['dev-libs/libvc']    
   mail-client/mutt-vc-query/mutt-vc-query-002.ebuild: alpha(default-linux/alpha/2006.0) ['dev-libs/libvc']                 
   mail-client/mutt-vc-query/mutt-vc-query-002.ebuild: alpha(default-linux/alpha/no-nptl) ['dev-libs/libvc']                
   mail-client/mutt-vc-query/mutt-vc-query-002.ebuild: alpha(default-linux/alpha/no-nptl/2.4) ['dev-libs/libvc']            
   mail-client/mutt-vc-query/mutt-vc-query-002.ebuild: ~amd64(default-linux/amd64/2006.0) ['dev-libs/libvc'] 

   app-misc/rolo/rolo-011.ebuild: x86(default-linux/x86/2006.0) ['dev-libs/libvc']                                          
   app-misc/rolo/rolo-011.ebuild: x86(default-linux/x86/no-nptl) ['dev-libs/libvc']                                         
   app-misc/rolo/rolo-011.ebuild: x86(default-linux/x86/no-nptl/2.4) ['dev-libs/libvc']                                     
   app-misc/rolo/rolo-011.ebuild: ppc(default-linux/ppc/ppc32/2006.0) ['dev-libs/libvc']                                    
   app-misc/rolo/rolo-011.ebuild: sparc(default-linux/sparc/sparc64/2006.0/2.4) ['dev-libs/libvc']                          
   app-misc/rolo/rolo-011.ebuild: alpha(default-linux/alpha/2006.0) ['dev-libs/libvc']                                      
   app-misc/rolo/rolo-011.ebuild: alpha(default-linux/alpha/no-nptl) ['dev-libs/libvc']                                     
   app-misc/rolo/rolo-011.ebuild: alpha(default-linux/alpha/no-nptl/2.4) ['dev-libs/libvc']                                 
   app-misc/rolo/rolo-011.ebuild: amd64(default-linux/amd64/2006.0) ['dev-libs/libvc']                                      
   app-misc/rolo/rolo-011.ebuild: amd64(default-linux/amd64/2006.0/no-multilib) ['dev-libs/libvc']

Thanks
Comment 11 Stefan Cornelius (RETIRED) gentoo-dev 2006-06-02 06:19:43 UTC
Mhh, and what to do now? Should I mask the other packages, too - or should I bump libvc?
Comment 12 Mark Loeser (RETIRED) gentoo-dev 2006-06-02 06:29:36 UTC
I would just send a notice to g-dev@ that the other packages must be masked as well due to the libvc mask.  Just ask for someone to step up for those as well.  (all three programs are related anyway)
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-06-02 06:30:52 UTC
(In reply to comment #12)
> I would just send a notice to g-dev@ that the other packages must be masked as
> well due to the libvc mask.  Just ask for someone to step up for those as well.
>  (all three programs are related anyway)

I'd let them all die, neither of them has seen an upstream release for 3 years, dead stuff.
Comment 14 Stefan Cornelius (RETIRED) gentoo-dev 2006-06-02 07:57:34 UTC
Mail to -dev sent, thanks
Comment 15 Cédric Krier gentoo-dev 2006-06-08 10:22:42 UTC
Created attachment 88693 [details]
libvc-003-r1.ebuild

I use rolo, I have tested the patch and it seems that it works.
Here is the ebuild.
(I will be annoyed if this ebuild disappears)
Comment 16 Cédric Krier gentoo-dev 2006-06-08 10:23:59 UTC
Created attachment 88695 [details, diff]
patch
Comment 17 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-26 12:08:47 UTC
I added Cedric Kriers ebuild to the tree with some cosmetic modifications. Thanks Cedric :)
Comment 18 Cédric Krier gentoo-dev 2006-06-27 05:07:52 UTC
I think this ebuilds can be unmasked now :
dev-libs/libvc
mail-client/mutt-vc-query
app-misc/rolo

Comment 19 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2006-09-13 01:27:08 UTC
It would certainly be nicer if we actually had a maintainer for the package otherwise we're just stuck again next time.
Comment 20 Charlie Shepherd (RETIRED) gentoo-dev 2006-12-19 15:14:57 UTC
(In reply to comment #19)
> It would certainly be nicer if we actually had a maintainer for the package
> otherwise we're just stuck again next time.
 
cedk, are you interested?
Comment 21 Cédric Krier gentoo-dev 2006-12-21 10:54:06 UTC
I'm no more intersted in the app because upstream didn't respond.
Comment 22 Mark Loeser (RETIRED) gentoo-dev 2007-11-13 03:28:17 UTC
# Stefan Cornelius <dercorny@gentoo.org> (01 Jun 2006)
# masking because of security bug #127757
dev-libs/libvc                                                                  
mail-client/mutt-vc-query
app-misc/rolo


These things have been masked for quite some time.  Someone want to give them the boot?
Comment 23 Jakub Moc (RETIRED) gentoo-dev 2008-02-03 03:32:54 UTC
treecleaners, please kill this bitrot. Thanks.
Comment 24 Samuli Suominen (RETIRED) gentoo-dev 2008-05-15 11:21:17 UTC
drac@unique ~/gentoo-x86/profiles $ cvs ci -m "Removed libvc, rolo, mutt-vc-query for bug 127757."
/var/cvsroot/gentoo-x86/profiles/package.mask,v  <--  package.mask
new revision: 1.8595; previous revision: 1.8594
Mailing the commit message...
Comment 25 Samuli Suominen (RETIRED) gentoo-dev 2008-05-15 13:13:44 UTC
Oops, I shouldn't be closing security@ bugs.
Comment 26 Robert Buchholz (RETIRED) gentoo-dev 2008-05-15 13:42:40 UTC
This package is masked since 2006-06-01, but it was never maskglsa'd. I vote to close this without GLSA because of obsoleteness. Thoughts?
Comment 27 Matthias Geerdsen (RETIRED) gentoo-dev 2008-05-15 19:11:24 UTC
agreed... closing