Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 454583 - byacc vulnerable to public buffer overflow
Summary: byacc vulnerable to public buffer overflow
Alias: None
Product: Fedora
Classification: Fedora
Component: byacc
Version: 10
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Petr Machata
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-07-09 04:43 UTC by Kevin Kofler
Modified: 2015-05-05 01:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-11-18 08:33:48 UTC

Attachments (Terms of Use)

Description Kevin Kofler 2008-07-09 04:43:28 UTC
Description of problem:
As far as I can tell, the Fedora byacc package is vulnerable to this ancient 
yacc buffer overflow:

Version-Release number of selected component (if applicable):
all versions up to and including 1.9.20070509 (the current version in Fedora, 
also the latest upstream)

How reproducible:
By code inspection.

Steps to Reproduce:
1. Just check the code of skeleton.c, the vulnerable line is there.
Actual results:

Expected results:
Not vulnerable

Additional info:
The OpenBSD commit which fixes this:

As this is in the generated skeleton, any packages built with byacc might be 

Comment 1 Fedora Update System 2008-07-14 11:26:35 UTC
byacc-1.9.20070509-4.fc9 has been submitted as an update for Fedora 9

Comment 2 Fedora Update System 2008-07-15 12:18:12 UTC
byacc-1.9.20070509-4.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update byacc'.  You can provide feedback for this update here:

Comment 3 Bug Zapper 2008-11-26 02:31:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:

Comment 4 Bug Zapper 2009-11-18 07:44:08 UTC
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '10'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 10's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 10 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here:

Comment 5 Kevin Kofler 2009-11-18 08:33:48 UTC
F10 already has the fixed byacc-1.9.20070509-4.fc10, F9 is no longer supported, closing.

Note You need to log in before you can comment on or make changes to this bug.