Lucene search

K
freebsdFreeBSD6D0BF320-CA39-11E2-9673-001E8C75030D
HistoryMay 31, 2013 - 12:00 a.m.

devel/subversion -- contrib hook-scripts can allow arbitrary code execution

2013-05-3100:00:00
vuxml.freebsd.org
16

0.015 Low

EPSS

Percentile

87.1%

Subversion team reports:

The script contrib/hook-scripts/check-mime-type.pl does not escape
argv arguments to โ€˜svnlookโ€™ that start with a hyphen. This could be
used to cause โ€˜svnlookโ€™, and hence check-mime-type.pl, to error out.
The script contrib/hook-scripts/svn-keyword-check.pl parses filenames
from the output of โ€˜svnlook changedโ€™ and passes them to a further
shell command (equivalent to the โ€˜system()โ€™ call of the C standard
library) without escaping them. This could be used to run arbitrary
shell commands in the context of the user whom the pre-commit script
runs as (the user who owns the repository).

OSVersionArchitecturePackageVersionFilename
FreeBSDanynoarchsubversion=ย 1.7.0UNKNOWN
FreeBSDanynoarchsubversion<ย 1.7.10UNKNOWN