-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2019.3060
              doas: Prevent passing of environment variables
                              12 August 2019

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           doas
Publisher:         FreeBSD
Operating System:  FreeBSD
                   OpenBSD
                   Linux variants
Impact/Access:     Denial of Service        -- Existing Account
                   Access Confidential Data -- Existing Account
Resolution:        Patch/Upgrade

Original Bulletin: 
   http://www.vuxml.org/freebsd/7f7d6412-bae5-11e9-be92-3085a9a95629.html

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than FreeBSD. It is recommended that administrators
         running doas check for an updated version of the software for their
         operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports
Collection

doas -- Prevent passing of environment variables

Affected packages
  doas    < 6.1

Details

VuXML ID  7f7d6412-bae5-11e9-be92-3085a9a95629
Discovery 2019-08-03
Entry     2019-08-09

Jesse Smith of Resonating Media reports:

    Previous versions of "doas" transferred most environment variables, such as
    USER, HOME, and PATH from the original user to the target user. Passing
    these variables could cause files in the wrong path or home directory to be
    read (or written to), which resulted in potential security problems.

    [source]

References

URL https://github.com/slicer69/doas/releases/tag/6.1

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBXVC78GaOgq3Tt24GAQgTUA/+Kj7hj4NeJHjlteYRAhLtJ0SpNWcaR84Z
qi/V1RVQMw5X8YZyByTa0qO+BTUHOQ+H1UPwz/9jx/xweKydpiDrsf2pX/Itl0XX
XahMyVCUUqRa5YwDWopDxc9zU2ZpaDUdf98ojdIpKPayNPNuOEHl1noYzjDEgfmw
1BZFMss4ExLB+FVHntMlxP/uLLYO6EG6McRkcw9JFKA/8fhj+G/lsMbBPZo4wrmS
2EXrxpacCOgyF9I5hYpZNE3NR8JgvqQOtQCZiOLpOC5bKPO7T4TMxj18eXQvvRL7
IG04rOVQlACp0igssZpPruqhjFrhv+kGVhlEDhmoq05KTmfjNAS+2TQ+t1eqxvWS
GcIIYzq+EqaDikjmPF1jfY8uHXS3LoBvOkywzdAqLbKK32d6tH1E0jlttyEFie7G
/q7/p9+OaaatfFE3yJI/u5q/G7x6AHbM/kRBD+ZB6tCW9NwThn2Gdqt/hfASoQAO
XUSoGJLMWYjoLT2cEE8kNXrjcuy8pgyV+oxP5VaTn1Xk3KW6uJaFuzCaA0PldVl+
DiqEaua6trg7D9U8/M2sp/xmyUj0stZwhds2qACcsao9A4FrgIfXmPYTOd6hnxBk
DZfaoYvGsqcDtOswdIjrN64apf1vPh4wbjKzLjtZ4TyItYeEjKq8t5rL7rIN0aYh
HU9g3H6TO3I=
=LNlv
-----END PGP SIGNATURE-----