OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../trickle/trickle-1.07-CVE-2009-0415.patch
  5. # Copyright (C) 2011 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. Description:
  17. Untrusted search path vulnerability in trickle 1.07 allows local users to
  18. execute arbitrary code via a Trojan horse trickle-overload.so in the current
  19. working directory, which is referenced in the LD_PRELOAD path.
  20. Origin: Fedora Project
  21. http://pkgs.fedoraproject.org/gitweb/?p=trickle.git;a=blob_plain;f=trickle-1.07-CVE-2009-0415.patch;hb=HEAD
  22. CVE: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0415
  23. diff -up trickle-1.07/trickle.c.cve trickle-1.07/trickle.c
  24. --- trickle-1.07/trickle.c.cve 2004-12-13 01:15:51.000000000 +0100
  25. +++ trickle-1.07/trickle.c 2009-02-12 20:21:46.000000000 +0100
  26. @@ -49,7 +49,6 @@ main(int argc, char **argv)
  27. char buf[MAXPATHLEN], sockname[MAXPATHLEN], *path, **pathp;
  28. struct stat sb;
  29. char *trypaths[] = {
  30. - LIBNAME,
  31. LIBDIR "/" LIBNAME,
  32. NULL
  33. };