Bug 27216 - crontab buffer overflows on names over 20 chars
crontab buffer overflows on names over 20 chars
Status: CLOSED DUPLICATE of bug 27217
Product: Red Hat Linux
Classification: Retired
Component: vixie-cron (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Crutcher Dunnavant
David Lawrence
: Security
Depends On:
  Show dependency treegraph
Reported: 2001-02-12 17:24 EST by Chris Ricker
Modified: 2007-04-18 12:31 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-10 17:59:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Chris Ricker 2001-02-12 17:24:35 EST
Just like the recent post to Bugtraq regarding vixie-cron and RH 7.0.
crontab does getpwuid() but then stores the name in a 20-byte buffer w/o
checking its length.  Since crontab is suid root, this could be fun....

[thisnameislongandbreakscrontab@station12 thisnameislongandbreakscrontab]$
Segmentation fault
[thisnameislongandbreakscrontab@station12 thisnameislongandbreakscrontab]$
rpm -qf `which crontab`
[thisnameislongandbreakscrontab@station12 thisnameislongandbreakscrontab]$
Comment 1 Bill Nottingham 2001-02-12 17:29:39 EST

*** This bug has been marked as a duplicate of 27217 ***

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