A critical vulnerability has been identified in the Postgresql JDBC driver. If you are using Postgresql with ERDDAP, please update as soon as possible and let us know if it causes any problems. In the instructions it points to:
>
https://mvnrepository.com/artifact/org.postgresql/postgresql
as one place to get the driver. The instructions on where to put the JDBC driver and other settings are:
> JDBC Driver and <driverName> -- You must get the appropriate JDBC 3 or JDBC 4 driver .jar file for your database and
> put it in tomcat/webapps/erddap/WEB-INF/lib after you install ERDDAP. Then, in your datasets.xml for this dataset, you must specify the <driverName> for this driver, which is (unfortunately) different from the filename. Search on the web for the JDBC driver for your database and the driverName that Java needs to use it.
>
> After you put the JDBC driver .jar in ERDDAP lib directory, you need to add a reference to that .jar file in the .bat and/or .sh script files for GenerateDatasetsXml, DasDds, and ArchiveADataset which are in the tomcat/webapps/erddap/WEB-INF/ directory; otherwise, you'll get a ClassNotFoundException when you run those scripts.
Note that this update can be done without an update to the rest of ERDDAP, but as always we recommend running the latest version of ERDDAP (presently 2.23).
Thanks,
-Roy
**********************
"The contents of this message do not reflect any position of the U.S. Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone:
(831)-420-3666
Fax:
(831) 420-3980
e-mail:
Roy.Men...@noaa.gov www:
https://www.pfeg.noaa.gov/
"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.